[openbeos] Re: kernel mime_table module

Ingo Weinhold wrote on Sun, 09 Jan 2005 16:55:48 +0100:
> Why should the query support affect the ability to support hard links? IIRC 
> AGMS's RAM FS supports both.

Yes, it does support both hard links and queries.  The index just stores
the vnode number of the real file along with the attribute value.  Well,
not actually hard links, internally they are, but they are presented to
user programs as symbolic links with a dynamically changing path name.
Otherwise "ls -R" and other ignorant tools get stuck in infinite loops
(they have custom code for handing "." and "..", I'd need to add similar
code for them to recognize other hard links and exclude them from
recursion, but that was too much work).

- Alex

Other related posts: