Date: Mon, 6 Apr 1998 10:49:27 +1200 (NZST) From: Jonathan Chen <jonc@pinnacle.co.nz> To: Anber Rybar <vile@usmo.com> Cc: questions@FreeBSD.ORG Subject: Re: ln -s Message-ID: <Pine.SGI.3.96.980406104604.6233A-100000@tui.pinnacle.co.nz> In-Reply-To: <19980405161205.17107@atrophy.dyn.ml.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 5 Apr 1998, Anber Rybar wrote: [snip] > The copy of ln that ships with FreeBSD will make a soft link to a directory a > hard link. I want to know why. No it doesn't; as the following demonstrates most clearly: 10:44am> uname -a FreeBSD kakapo.pinnacle.co.nz 2.2.5-RELEASE FreeBSD 2.2.5-RELEASE #0: Mon Feb 2 11:47:50 NZDT 1998 root@kakapo.pinnacle.co.nz:/usr/src/sys/compile/KAKAPO i386 10:44am> mkdir a 10:44am> ls a/ 10:44am> ln a b ln: a: Is a directory 10:44am> ln -s a b 10:44am> ls a/ b> 10:44am> rm b 10:44am> ls a/ -- Jonathan Chen <jonc@pinnacle.co.nz> ---------------------------------------------------------------------- "Don't forget the most important rule to live by.. Never believe anything you read on the USENET" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SGI.3.96.980406104604.6233A-100000>