RE: Disappearing files.....[long, new case/infos]


Subject: RE: Disappearing files.....[long, new case/infos]
From: Jonathan Newman (jnewman@mudpup.com)
Date: Thu Dec 07 2000 - 14:35:34 EST


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

>
> also, the the bit to determine if it's a file or not neccesary?

I believe it is needed for differentiating file/dir entries in the
red-black tree.

> another question, what if netatalk stopped giving out DIDs?

There is a better (temporary) solution. Specify --enable-lastdid at
./configure time, and netatalk will generate unique DIDs for a given
run of afpd. This means that aliases on some versions of the MacOS
won't work correctly to items inside netatalk volumes between mounts
of a volume (say that three times fast...)

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



This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:32:45 EST