Martijn Pronk wrote:

"My program" is just anything that attempts to obtain a lock on a file
on the NFS filesystem. vi does this when opening an existing file, as
does mutt when opening a mailbox.

Well, that sure simplifies the problem of running your program. ;)

Thanks for the info, I will try that tonight after I get back home from the first
day of the EuroBSDcon.
OK, I tested it with a Solaris 8 NFS server with -current as a client,
and locking does indeed work. (At least, vi didn't show the word "UNLOCKED"
in the bottom line after I enabled rpc.lockd)

However, I had some starting problems with rpc.lockd.
Aparently it requires that rpc.statd also is running. Since I didn't had these things
enabled in rc.conf, I started them manually. rpc.lockd quits silently without logging
anything about what happened.
The manualpage does mention that rpc.lockd " typically runs in conjunction with
rpc.statd" As I don't see a direct requirement in this line, I didn't realize it was required.

HTH,

Martijn


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message


Reply via email to