Re: [PATCH] VFS: new fgetattr() file operation

From: David Chinner
Date: Thu Oct 25 2007 - 18:43:42 EST


On Wed, Oct 24, 2007 at 05:27:04PM +0200, Miklos Szeredi wrote:
> > >> Wouldn't you be better off by attempting to implement an "open
> > >> by ino" operation and an operation to get the generation count
> > >> for the file and then modifying the network protocol of interest
> > >> to use these as identifiers for the file to be manipulated?
> > >>
> > >
> > > You mean an "open by inode" on the userspace API? My guess, it
> > > wouldn't get very far.
> >
> > This isn't a new idea and has been implemented on a variety of
> > different systems.
>
> Like?

XFS.

'man open_by_handle'

Cheers,

Dave.
--
Dave Chinner
Principal Engineer
SGI Australian Software Group
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/