Messages in this thread | | | Date | Tue, 5 Aug 2003 17:46:43 +0100 | From | viro@parcelfa ... | Subject | Re: FS: hardlinks on directories |
| |
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/
| |