Hardlink sub-directories and files

Dan Stromberg drsalists at gmail.com
Wed Aug 3 18:31:08 CEST 2011


On Wed, Aug 3, 2011 at 12:04 AM, Nobody <nobody at nowhere.com> wrote:

> On Tue, 02 Aug 2011 02:32:54 -0700, loial wrote:
>
> > However I do not think it is possible to hard link directories ?
>
> Modern Unices disallow hard links to directories, as it makes the
> directory "tree" not a tree, so anything which performs a recursive walk
> must explicitly check for cycles to avoid infnite recursion.
>
> Older systems which allowed hard links to directories required root
> privilege to do so.
>
>
Actually, I recently heard about a system with multiple Solaris Containers
set up, that were sharing their /usr via directory hardlinks.  The question
came up: How does one back up such a system?  But ufsdump worked.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110803/7279f64d/attachment.html>


More information about the Python-list mailing list