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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <staubach@...>
Cc: <akpm@...>, <hch@...>, <linux-kernel@...>, <linux-fsdevel@...>
Date: Wednesday, October 24, 2007 - 9:43 am

> Miklos Szeredi wrote:

Not mythical at all.  As noted in the description, there's sshfs, a
live and quite popular example of this sort of filesystem.


The constraint is that the server has to be an ordinary unprivileged
process.  How should it identify the file, other than by name, or by
an open file descriptor?


Can you please give concrete examples what it can't handle, and how
should the implementation be improved to be able to handle it, given
the above constraints?


And the nfs server isn't a userspace process, or if it is, it must use
horrible hacks to convert the file handle to a name, that don't work
half the time.


You mean an "open by inode" on the userspace API?  My guess, it
wouldn't get very far.

Anyway, that would still not work on old servers, and servers running
other OS's.

Note, the point is _not_ to make a brand new NFS replacement
filesystem, that can use names instead of file handles.  The point is
to use existing infrastructure, to make the setup as easy as ssh'ing
to a different machine.  And sshfs does just that.

Miklos
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] VFS: new fgetattr() file operation, Miklos Szeredi, (Wed Oct 24, 7:59 am)
Re: [PATCH] VFS: new fgetattr() file operation, Peter Staubach, (Wed Oct 24, 9:02 am)
Re: [PATCH] VFS: new fgetattr() file operation, Miklos Szeredi, (Wed Oct 24, 9:43 am)
Re: [PATCH] VFS: new fgetattr() file operation, Peter Staubach, (Wed Oct 24, 11:02 am)
Re: [PATCH] VFS: new fgetattr() file operation, Miklos Szeredi, (Wed Oct 24, 11:27 am)
Re: [PATCH] VFS: new fgetattr() file operation, David Chinner, (Thu Oct 25, 6:42 pm)
Re: [PATCH] VFS: new fgetattr() file operation, Miklos Szeredi, (Thu Oct 25, 7:10 pm)
Re: [PATCH] VFS: new fgetattr() file operation, David Chinner, (Thu Oct 25, 7:52 pm)
Re: [PATCH] VFS: new fgetattr() file operation, Miklos Szeredi, (Fri Oct 26, 5:33 am)