Re: Should hard links to directories work?
Rutger Hofman <[email protected]>
| Newsgroups | gmane.os.ecos.devel |
|---|---|
| Message-ID | <[email protected]> |
sandeep wrote: > Hi Ross, > > Younger ;) people often have interesting questions and are responsible for fresh insights. > >> The Unix world traditionally shuns such things as an abomination. >> The eCos docs are quiet on the subject, as is the code in >> ramfs and jffs2. >> Should they work? Does anybody use them? > > Before we discuss it further, where/how do you think you will use directory hardlinking, if it were available for normal user? FWIW, the Amoeba distributed OS had hard links to directories. It had no soft links at all. It introduces loops in the directory 'hierarchy' (because of the loops, there is no hierarchy any more), so e.g. find(1) had to be armed with loop detection. Rutger