From owner-freebsd-hackers@FreeBSD.ORG Wed May 24 01:24:04 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28D7A16A833 for ; Wed, 24 May 2006 01:24:04 +0000 (UTC) (envelope-from gs_stoller@juno.com) Received: from outbound-mail.nyc.untd.com (outbound-mail.nyc.untd.com [64.136.20.164]) by mx1.FreeBSD.org (Postfix) with SMTP id 676DE43D93 for ; Wed, 24 May 2006 01:23:44 +0000 (GMT) (envelope-from gs_stoller@juno.com) Received: from webmail29.nyc.untd.com (webmail29.nyc.untd.com [10.141.27.169]) by smtpout01.nyc.untd.com with SMTP id AABCHHPMJA5EFYW2 for (sender ); Tue, 23 May 2006 18:22:48 -0700 (PDT) Received: (from gs_stoller@juno.com) by webmail29.nyc.untd.com (jqueuemail) id LQ4NTPV8; Tue, 23 May 2006 18:22:18 PDT Received: from [67.84.52.37] by webmail29.nyc.untd.com with HTTP: Wed, 24 May 2006 01:21:59 GMT X-Originating-IP: [67.84.52.37] Mime-Version: 1.0 From: "gs_stoller@juno.com" Date: Wed, 24 May 2006 01:21:59 GMT To: freebsd-hackers@freebsd.org X-Mailer: Webmail Version 4.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Content-Type: text/plain Message-Id: <20060523.182218.19235.1026225@webmail29.nyc.untd.com> X-ContentStamp: 2:1:4110914514 X-UNTD-OriginStamp: /s5f1SIGSI3+WdnoYQ8yRDHgdxEl0vaJNbpvw2hkEIH/PaEbN0BQlg== X-UNTD-Peer-Info: 10.141.27.169|webmail29.nyc.untd.com|webmail29.nyc.untd.com|gs_stoller@juno.com Subject: The 'ln -s' command X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 01:24:10 -0000 I tried the 'ln -s' command in bothe 4.3 & 4.7 in a situation where i= t 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 200= 1 jkh@narf.osd.bsdi.com:/usr/src/sys/compile/GENERIC i386 FreeBSD 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct 9 15:08:34 GMT 200= 2 root@builder.freebsdmall.com:/usr/obj/usr/src/sys/GENERIC i386