Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2004 11:47:57 +0930
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        David Kelly <dkelly@HiWAAY.net>
Cc:        FreeBSD_Questions FreeBSD_Questions <freebsd-questions@FreeBSD.org>
Subject:   Re: hard links for directories ?
Message-ID:  <20040819021757.GL81574@wantadilla.lemis.com>
In-Reply-To: <22C619E6-F185-11D8-B845-000393BB56F2@HiWAAY.net>
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> <22C619E6-F185-11D8-B845-000393BB56F2@HiWAAY.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--0qVF/w3MHQqLSynd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

[Format recovered--see http://www.lemis.com/email/email-format.html]

On Wednesday, 18 August 2004 at 21:11:52 -0500, David Kelly wrote:
> 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
>> directories which corrupts the file system coherency.  This
>> implementation no longer permits it.

Ah, interesting.  I didn't know that.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger grog@FreeBSD.org for PGP public key.
See complete headers for address and phone numbers.

--0qVF/w3MHQqLSynd
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQFBJA3VIubykFB6QiMRAnQTAKCELwOdzL0k9kaTXjiIXTaiIceM8QCglgN5
NeBG3eEU/e5hiAl8pZDpM4I=
=qnXE
-----END PGP SIGNATURE-----

--0qVF/w3MHQqLSynd--



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