Date: Wed, 18 Aug 2004 21:11:52 -0500 From: David Kelly <dkelly@HiWAAY.net> To: FreeBSD_Questions FreeBSD_Questions <freebsd-questions@FreeBSD.org> Subject: Re: hard links for directories ? Message-ID: <22C619E6-F185-11D8-B845-000393BB56F2@HiWAAY.net> In-Reply-To: <20040817231447.GM88156@wantadilla.lemis.com> References: <6.1.2.0.0.20040816220030.04148ec0@mail1.simplenet.com> <20040817052403.GE88156@wantadilla.lemis.com> <6BDB5047-F05D-11D8-8B80-000393BB56F2@HiWAAY.net> <20040817231447.GM88156@wantadilla.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 17, 2004, at 6:14 PM, Greg 'groggy' Lehey wrote: >> Root is the only one allowed to make hard links to directories. > > This is not correct. root has no special powers here. OK, I'm a bit out of date and stand corrected. IIRC fsck used link(2) to reconnect an inode as a directory sometimes. "man 2 link" says: > The link() system call traditionally allows the super-user to link > direc- > tories which corrupts the file system coherency. This implementation > no > longer permits it. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Top posters will not be shown the honor of a reply.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?22C619E6-F185-11D8-B845-000393BB56F2>