Actually, ls is overly complicated for these examples and actually obscures
the Linux results. Below, I repeat the experiments with 'stat foo' instead of
'ls foo' and 'ls | grep foo' instead of 'ls foo'.
The summary of the below is that MacOSX HFS+, Linux ext3, and fusexmp
on Linux ext3 produce identical results. fusexmp on MacOSX HFS+ differs
from the others.
Create foo->foo ('ln -s foo foo').
MacOSX HFS+:
$ stat foo > /dev/null
$ echo $?
0
$ rm foo
$ echo $?
0
$ ls | grep -q ^foo$; echo $?
1
fusexmp on MacOSX HFS+:
$ stat foo > /dev/null
stat: foo: stat: Too many levels of symbolic links
$ echo $?
1
$ rm foo
rm: foo: Too many levels of symbolic links
$ echo $?
1
$ ls | grep -q ^foo$; echo $?
0
Linux ext3:
$ stat foo > /dev/null
$ echo $?
0
$ rm foo
$ echo $?
0
$ ls | grep -q ^foo$; echo $?
1
fusexmp on Linux ext3:
$ stat foo > /dev/null
$ echo $?
0
$ rm foo
$ echo $?
0
$ ls | grep -q ^foo$; echo $?
1
--
Chris Frost | <http://www.frostnet.net/chris/>
-------------+----------------------------------
PGP: <http://www.frostnet.net/chris/pgpkey.txt>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"macfuse-devel" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/macfuse-devel?hl=en
-~----------~----~----~----~------~----~------~--~---