Re: [netatalk-admins] DIDs - an idea -or- I didn't read the AFP specs completely yet


Subject: Re: [netatalk-admins] DIDs - an idea -or- I didn't read the AFP specs completely yet
From: Gary E. Bickford (garyb@slb.com)
Date: Wed Apr 15 1998 - 20:03:14 EDT


At 5:08 PM -0500 4/15/98, Donald L. Nash wrote:
>This won't work and cannot easily be made to work because DIDs are only 32
>bits long. I looked into using inode numbers combined with major and minor
>device numbers to create an inode-based DID that worked for volumes which
>span filesystems, but had to give up on it because inode numbers are 24 bits
>long and major and minor device numbers are each 8 bits long. I couldn't
>figure out a way to cram 40 bits into 32 without the possibility of
>collision. :-)

Yeah, I didn't work out the details (mainly 'cause I don't know whereof I
speak :) - but your last point reminds me of gray coding, which does just
that, and the result is always unique, though not sequential. I forget how
it works...

GEB



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:32:23 EST