The 'ln -s' command
David Malone
dwmalone at maths.tcd.ie
Wed May 24 05:27:03 PDT 2006
On Wed, May 24, 2006 at 01:21:59AM +0000, gs_stoller at juno.com wrote:
> I tried the 'ln -s' command in bothe 4.3 & 4.7 in a situation
> where it should fail and it did, but it still had a return/exit
> code of 0 , I think it should have been nonzero. I tried 'ln -s
> a b' where the file b existed (and was a directory)
In this case, ln should make a link called b/a pointing to a. ln
probably successfully did this and returned 0. The behaviour is
documented in the ln man page I think.
David.
More information about the freebsd-hackers
mailing list