Subject: Database of DID's (start of a solution?)
From: Tom Watson (tsw@johana.com)
Date: Thu Dec 07 2000 - 22:37:44 EST
On Thu, 7 Dec 2000 14:37:45 -0500 (EST), netatalk-admins@umich.edu wrote:
> > so. The problem is the same as yours, the minor device number.
> > mine are 1,17,33 and 49. So here's a question,
> > in my case, as all the major numbers are the
> > same (8), would itbe evil to hack this hash function to
> > give the major
> > bits to the minor?
>
> Evil? Only malicious software is evil in my book. The change you
> describe would be a short term fix for your issue, but certainly not a
> long term one for everyone.
How about a database for JUST the major/minor parts of the the
identifier. If this is limited to 256 entries (8 bits of index), it
would allow quite a bit of mounted volumes. Then there would be no
"evil hash". OK, so it takes a table in memory that has the accumulated
major/minor numbers, and it needs to be written out, but after it is
started, it should be pretty much self sufficient. Since the DID is
a total of 4 bytes, this allows 16megs of unique inodes for a volume.
In my book, this sounds pretty adequate.
<<<deletia>>>
>
> The reality is that we need a persistent DID database for netatalk.
> Unfortunately, it seems no one has the time to commit to such a
> project.
>
> Jon
>
-- Tom Watson Generic short signature tsw@johana.com (I'm at home now)
This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:32:45 EST