Re: FS: hardlinks on directories

From: Christian Reichert (c.reichert@resolution.de)
Date: Mon Aug 04 2003 - 08:37:01 EST


Hi !

the fundamental problem as i know it is that the FS design in unix is based on
a directory TREE structure - however if you implement hard links for
directories you are breaking this strict treeu structure and can end up with
loops/graphs.

(What are the cases where a symlink wouldn't be enough ?)

Cheers,

    Chris

Zitat von Stephan von Krawczynski <skraw@ithnet.com>:

> On Mon, 04 Aug 2003 14:45:58 +0200
> mru@users.sourceforge.net (Måns Rullgård) wrote:
>
> > Stephan von Krawczynski <skraw@ithnet.com> writes:
> >
> > > although it is very likely I am entering (again :-) an ancient
> > > discussion I would like to ask why hardlinks on directories are not
> > > allowed/no supported fs action these days. I can't think of a good
> > > reason for this, but can think of many good reasons why one would
> > > like to have such a function, amongst those:
> >
> > I don't know the exact reasons it isn't allowed, but you can always
> > use "mount --bind" to get a similar effect.
>
> I guess this is not really an option if talking about hundreds or thousands
> of
> "links", is it?
>
> Regards,
> Stephan
> -
> 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/
>

-
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:23 EST