hard links for directories ?
David Kelly
dkelly at HiWAAY.net
Wed Aug 18 19:11:57 PDT 2004
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 at HiWAAY.net
========================================================================
Top posters will not be shown the honor of a reply.
More information about the freebsd-questions
mailing list