On Mon, 29 Apr 2002, Jean-Fran�ois Mertens wrote:
> Are you sure they WERE wiped ?
> Which of those are not links ?
> When I do ls -s , all links _ soft and hard _ show up as size 0.
> With ls -l , you'll see the real sizes
> (this is the "ls" from fileutils, didn't check the behaviour of the
> other.)
Interesting, but not *quite* what I get:
% echo "test" > foo
% /sw/bin/ln foo foo-hl
% /sw/bin/ln -s foo foo-sl
% /sw/bin/ls -s -1 foo*
4 foo
4 foo-hl
0 foo-sl
% /bin/ls -s -1 foo*
8 foo
8 foo-hl
8 foo-sl
%
So the built in /bin/ls sees no block-size difference, while /sw/bin/ls
reports equal size for the hard links & zero for the symlink. (Repeating
these steps with /bin/ln instead of /sw/bin/ln made no difference, so I
haven't included those results here.)
Are you really getting zero size files for hard links?
--
Chris Devers [EMAIL PROTECTED]
Apache / mod_perl / http://homepage.mac.com/chdevers/resume/
"More war soon. You know how it is." -- mnftiu.cc
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users