Subject: Re: Mac Aliases changing
From: Stefan Bethke (stefan@promo.de)
Date: Wed Jun 25 1997 - 06:45:56 EDT
At 4:10 Uhr +0200 25.06.1997, wesley.craig@umich.edu wrote:
>> From: Bill Studenmund <skippy@macro.stanford.edu>
>> To: Mario Klebsch DG1AM <mkl@charlie.rob.cs.tu-bs.de>
>
>> I think one commercial package's solution was to just make an extra file
>> in the directory containing its folder id. Thus it'd be permanent.
>
>A better solution would be to place a single file at the root of the
>mounted volume containing, basically, the contents of afpd's directory
>tree. As a matter of fact, you could get around some of its other
>short-comings this way as well, e.g. no support for file names > 31
>characters.
How would you keep that in sync with the real tree?
The basic problem is that you have to keep file system meta-information
(File ID, Parent ID), which does not fit into the standard Unix file
system, somewhere, and keep this information in sync with the
meta-information in the file system. The Right Thing To Do would be a VFS
module to keep the info where it belongs.
Using a hidden file to store the directory ID still has two problems: it is
possible that two dirs get the same ID, and locating a dir by its ID.
Unless you keep a file at the root of the tree, storing the IDs of all
dirs, finding the dir could be quite expensive.
Stefan
-- Stefan Bethke Promo Datentechnik | Tel. +49-40-851744-0 + Systemberatung GmbH | Fax. +49-40-851744-44 Eduardstrasse 46-48 | e-mail: stefan@Promo.DE D-20257 Hamburg | http://www.Promo.DE/
This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:25:11 EST