Re: [RFC PATCH 0/5] Shadow directories

From: David Newall
Date: Thu Oct 18 2007 - 22:57:46 EST


Al Viro wrote:
On Fri, Oct 19, 2007 at 06:07:45AM +0930, David Newall wrote:
considerations of this whole scheme. Linux, like most Unix systems, has never allowed hard links to directories for a number of reasons;
The claim is wrong. UNIX systems have traditionally allowed the superuser to create hard links to directories. See link(2) for 2.10BSD <http://www.freebsd.org/cgi/man.cgi?query=link&sektion=2&manpath=2.10+BSD>. Having got that wrong throws doubt on the argument; perhaps a path can simultaneously be a file and a directory.

Learn to read. Linux has never allowed that. Most of the Unix systems
do not allow that.

I did read the claim and it is ambiguous, in that it can reasonably be read to mean that most UNIX systems never allowed such links, which is wrong. All UNIX systems allowed it until relatively recently.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/