Date: Sat, 08 May 1999 19:39:27 -0500 From: David Kelly <dkelly@hiwaay.net> To: David Abdemoulaie <DAcash18@vt.edu>, FreeBSD Questions list <freebsd-questions@FreeBSD.ORG> Subject: Re: Linking directories Message-ID: <199905090039.TAA50705@nospam.hiwaay.net> In-Reply-To: Message from Alfred Perlstein <bright@rush.net> of "Sat, 08 May 1999 05:14:36 CDT." <Pine.BSF.3.96.990508051137.7628e-100000@cygnus.rush.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Alfred Perlstein writes: > On Fri, 7 May 1999, David Abdemoulaie wrote: > = > > How do I make a link to a directory? I have tried using ln but it onl= y > > seems to be able to link files > = > you need to use symbolic links, "man ln" the -s option is your friend. Don't just tell him that he can't make hard links, tell him why: The ability to make hard links to directories is restricted to root = because fsck(8) would get confused if a directory didn't have exactly = the right number of hard links to it. A really fun thing I like to do is to create symbolic links to = directories on other servers. For instance this shares the distfile = directory on PeeCee (assuming amd(8) is running): % cd /usr/ports % ln -s /host/PeeCee/usr/ports/distfiles distfiles The really nice thing about the above is the remote filesystem is = automatically mounted when needed. Then later umounted. -- David Kelly N4HHE, dkelly@nospam.hiwaay.net =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. 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?199905090039.TAA50705>