Re: FS: hardlinks on directories

Christian Reichert
2003-08-04T13:37:37Z

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/
>