linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: nfs's interface and unix fs system call
  2011-05-10  5:56 nfs's interface and unix fs system call niujin
@ 2011-05-09 16:54 ` Benny Halevy
  0 siblings, 0 replies; 2+ messages in thread
From: Benny Halevy @ 2011-05-09 16:54 UTC (permalink / raw)
  To: niujin; +Cc: linux-nfs

On 2011-05-10 08:56, niujin wrote:
> Hi everyone, I'm new to nfs and I read a line of words refering to NFS 
> in <Distributed Systems --- Concepts and Design>:
> "User programs can access files via Unix system calls without 
> recompilication or reloading"
> 
> My question is, as far as I know, unix system call include "open" 
> operation while NFS server operation does not, it seems to be 
> contradictary to the quotings above, why?

The NFS version 2 and 3 protocols are stateless and are not
intended to export all Unix/Posix system calls therefore they
include no OPEN operation.

The client uses LOOKUP to get a file handle which is used
by other operations to identify the file at hand somewhat similar
to the way an open file descriptor is used by Posix system calls
(just without any state associated with it)

Benny

^ permalink raw reply	[flat|nested] 2+ messages in thread

* nfs's interface and unix fs system call
@ 2011-05-10  5:56 niujin
  2011-05-09 16:54 ` Benny Halevy
  0 siblings, 1 reply; 2+ messages in thread
From: niujin @ 2011-05-10  5:56 UTC (permalink / raw)
  To: linux-nfs

Hi everyone, I'm new to nfs and I read a line of words refering to NFS 
in <Distributed Systems --- Concepts and Design>:
"User programs can access files via Unix system calls without 
recompilication or reloading"

My question is, as far as I know, unix system call include "open" 
operation while NFS server operation does not, it seems to be 
contradictary to the quotings above, why?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-09 16:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-10  5:56 nfs's interface and unix fs system call niujin
2011-05-09 16:54 ` Benny Halevy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).