Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!purdue!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!rpi!batcomputer!riley From: riley@batcomputer.tn.cornell.edu (Daniel S. Riley) Newsgroups: comp.unix.ultrix Subject: Re: Bug in DECstation Ultrix 3.1 NFS locking? Message-ID: <9001@batcomputer.tn.cornell.edu> Date: 4 Oct 89 15:45:41 GMT References: <3196@rti.UUCP> <8076@cbmvax.UUCP> Reply-To: riley@tcgould.tn.cornell.edu (Daniel S. Riley) Distribution: comp Organization: Cornell Theory Center, Cornell University, Ithaca NY Lines: 29 In article <8076@cbmvax.UUCP> grr@cbmvax.UUCP (George Robbins) writes: >In article <3196@rti.UUCP> trt@rti.UUCP (Thomas Truscott) writes: >> We have been trying like crazy to get "lockf" to work >> correctly under DECstation Ultrix3.1, to no avail. >% man flock > > flock(2) >NAME > flock - apply or remove an advisory lock on an open file >... > >RESTRICTIONS > File region locking is not supported over NFS. % man lockf NAME lockf - record locking on files ... File region locking is supported over NFS, if the NFS lock- ing service has been enabled. Seems a bit contradictory, doesn't it. Have you used nfssetlock to enable NFS locking service? (Apologies if this is too obvious--I'm still a novice at managing Ultrix systems.) -Dan Riley (riley@tcgould.tn.cornell.edu, cornell!batcomputer!riley) -Wilson Lab, Cornell U.