From owner-freebsd-questions Tue Jul 27 8:36:48 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 80DB814DD1 for ; Tue, 27 Jul 1999 08:36:37 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id KAA11718; Tue, 27 Jul 1999 10:36:31 -0500 (CDT) (envelope-from dan) Date: Tue, 27 Jul 1999 10:36:30 -0500 From: Dan Nelson To: Hamish Archer Cc: freebsd-questions@FreeBSD.ORG Subject: Re: nfs lockd? Message-ID: <19990727103630.B11160@dan.emsphone.com> References: <379D432B.3D508EA9@peace.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <379D432B.3D508EA9@peace.com>; from "Hamish Archer" on Tue Jul 27 17:27:07 GMT 1999 X-OS: FreeBSD 4.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Jul 27), Hamish Archer said: > I have just installed a shiny new copy of FreeBSD... > > I really need to use rpc.lockd but I am little put off by the line in > /etc/defaults/rc.conf.... > > rpc_lockd_enable="NO" # Run NFS rpc.lockd (*broken!*) if nfs_server. > > I have turned it on and tested it. All seems OK. Can anyone tell me > what is broken? Have you actually tested that it locks? :) I.e. try and lock the same file from different machines. From the CVS log: date: 1996/02/17 15:11:29; author: peter; state: Exp; lines: +0 -0 Import Jan 15 version of Andrew Gordon 's stub lockd. This implements just the protocol, but does not interact with the kernel. It says "Yes!" to all requests. This is useful if you have people using tools that do locking for no reason (eg: some PC NFS systems running some Microsoft products) and will happily report they couldn't lock the file and merrily proceed anyway. Running this will not change the reliability of sharing files, it'll just keep it out of everybody's face. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message