[erlang-questions] : symlink error (I think)

Jonathan Schneider <>
Sun Apr 14 18:26:21 CEST 2013


Quick test here with 15B03 also produces "directory" instead of symlink which I would not expect. Could be today's warmth affecting low temperature Snow Leopard.

Also if I create a finder alias called share it's "regular" which I guess it is at some level.

There is a more general question of how various filesystem oddities should be treated. For example NTFS has more than one kind of link-type-thing contrary to popular myth.

Jon

On 14 Apr 2013, at 16:28, Joe Armstrong wrote:

> -module(bug).
> -compile(export_all).
> 
> -include_lib("kernel/include/file.hrl").
> 
> test() ->
>     {ok, X} = file:read_file_info("/Users/joe/projects/fuse/fuserl-2.0.5/fw/share"),
>     X#file_info.type.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130414/a3cf7c6a/attachment.html>


More information about the erlang-questions mailing list