[comp.protocols.nfs] Q: file locking under PC-NFS

chris@ec.uwa.oz.au (Christoph Uloth) (06/12/91)

One of the staff here was asking me regards how NFS
handles file locking that is initiated by s/w on a
file on a PC-NFS disk (via interupt 5c?)  Does anyone
know where I look for information regards this?

tia
chris

-------
Christoph Uloth      Division of Economics Commerce Education & Law
Systems/Networks Officer            University of Western Australia
Phone: +61-9-380 2198 || +61-9-364 7181         Fax: +61-9-380 1068
email: chris@ecel.uwa.oz.au                                     :-)
  ,-_|\   
 /     \  
 *_,-._/  
      v

geoff@bodleian.East.Sun.COM (Geoff Arnold @ Sun BOS - R.H. coast near the top) (06/13/91)

Quoth chris@ec.uwa.oz.au (Christoph Uloth) (in <1991Jun12.074204.11141@uniwa.uwa.oz>):
#One of the staff here was asking me regards how NFS
#handles file locking that is initiated by s/w on a
#file on a PC-NFS disk (via interupt 5c?)  Does anyone
#know where I look for information regards this?

When a PC application performs file locking operations
using the int21 function 5C (NOT interrupt 5C), PC-NFS
implements the operation by issuing RPCs to the rpc.lockd
daemon on the NFS server. The best description of how
all this works is in the X/Open "(PC)NFS Developer's
Specification", which is obtainable from X/Open Company
in the UK, US, and Japan. (Contact X/Open for local
distribution arrangements in Australia.) Disclaimer:
I was on the team that wrote the book (but I don't get
any royalties!).

Geoff

--Geoff Arnold, PC-NFS architect(geoff@East.Sun.COM or geoff.arnold@Sun.COM)--
------------------------------------------------------------------------------
--       Sun Technology Enterprises : PC Networking group                   --
--   (officially from July 1, but effectively in place right now)           --