Coda File System

Re: getcwd

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Wed, 16 Jun 1999 11:02:40 -0400
On Wed, Jun 16, 1999 at 04:44:09PM +0200, Miklos Szeredi wrote:
> 
> > What operating system and version of venus are you using?
> 
> Sorry, I forgot. It's Linux 2.2.10 and linux-coda-5.2.3-linux2.2.9.tgz
> as coda module. 
> 
> > So when your userspace code sets up the directory data, it has to pick 
> > the fids for all directory entries, and can then fill in the correct
> > inode numbers in the directory structure.
> 
> OK. I'm beginning to understand: the value of 'va_fileid' must match
> the inode number calculated from the Fid.
> 
> But what is still not clear: when venus sets up the local directory
> structure, does it choose the Fids so that the calculated inode number
> matches the actual inode number of the local file? How can it do this?
> 
> Thanks,
> Miklos

As far as I know, inode numbers you get from stat(), are the numbers of
that are derived from the fid, and not the underlying container file inode
numbers. So the inode number of the container file is irrelevant

Peter will probably correct me on this if I'm wrong...

Jan
Received on 1999-06-16 11:04:05