The 'ln -s' command

gs_stoller at gs_stoller at
Tue May 23 18:24:10 PDT 2006

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) and I wanted to create the file named  a  also pointing to it.  The correct form was 'ln -s  b  a'.

FreeBSD  4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 GMT 2001     jkh at  i386

FreeBSD  4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct  9 15:08:34 GMT 2002     root at  i386

More information about the freebsd-hackers mailing list