Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 May 2006 13:26:59 +0100
From:      David Malone <dwmalone@maths.tcd.ie>
To:        "gs_stoller@juno.com" <gs_stoller@juno.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: The 'ln -s' command
Message-ID:  <20060524122659.GA64453@walton.maths.tcd.ie>
In-Reply-To: <20060523.182218.19235.1026225@webmail29.nyc.untd.com>
References:  <20060523.182218.19235.1026225@webmail29.nyc.untd.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 24, 2006 at 01:21:59AM +0000, gs_stoller@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060524122659.GA64453>