[comp.unix.admin] flock and rpc.lockd

lemke@Princeton.EDU (Kennedy Lemke) (10/03/90)

Question: On a Sun 4/390 running SunOS 4.0.3, if rpc.lockd is
killed (or, rather, not running), would that cause the following
c code:

	flock(fileno(st), LOCK_SH|LOCK_NB);

to set errno to 79?  (Or, more specifically, as the man page indicates,
when rpc.lockd is not running, is it then the case that the number
of simultaneous file and record locks is decreased or becomes zero?
If so, does this then ultimately have the effect that no file locking
is therefore done on the system?

Please email me since I can't read this group as often as I'd like to.
Thanks.
				Kennedy Lemke
				Systems Programmer
				CIT--87 Prospect
				Princeton University

Work Phone: (609) 258-6033      Internet: lemke@Princeton.EDU
Fax Phone:  (609) 258-3943      uucp:     ...rutgers!princeton!lemke
Home Phone: (609) 275-7298      Bitnet:   LEMKE@PUCC.BITNET