From: Donald J. Becker (becker@super.org)
Date: 03/10/93


From: becker@super.org (Donald J. Becker)
Subject: Re: 32 bytes file handle on xfs and ext2fs ??
Date: Thu, 11 Mar 1993 04:21:11 GMT

In article <1993Mar7.071421.12108@ccds3.ntu.edu.tw> dhliu@solar.csie.ntu.edu.tw (Der-Hua Liu) writes:
>To implement a stateless NFS file server on Linux , we need a file hanle
>smaller or equal to 32 bytes.
>
> sizeof( file id + file system id ) <= 32
>
>Note that the file id and file system id should be derived from file system
>direcly. The file id & file system id should not change even after rebooting.
>The file system should provide the following two functions:
>
> 1. ip (inode pointer) -> file handle
> 2. file handle -> ip
>
>Is it possible ?

Gee, I wonder, hmmmm, possible, hmmm.

Yes.

For an excellent "proof", look at the Linux nfsd (nee 'hnfsd', nee
'unfsd') source code.

-- 
Donald Becker                                  becker@super.org
Supercomputing Research Center
17100 Science Drive, Bowie MD 20715                301-805-7482