Re: FS: hardlinks on directories

From: viro@parcelfarce.linux.theplanet.co.uk
Date: Tue Aug 05 2003 - 11:46:43 EST


Egads... OK, here comes:
        a) if you have real loops in directory graph (directory being
its own descendent), determining whether rename() will make it disconnected
becomes hell; it's completely infeasible.
        b) if you allow multiple paths from root, preventing loops creation
upon rename() also becomes hell.

        Forget about VFS, on-disk structures, etc. - just think in terms
of oriented graphs and operations on them; that's the price you'd have
to pay with any implementation and it's *big*.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:29 EST