*BSD News Article 53651


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!news.emf.net!overload.lbl.gov!lll-winken.llnl.gov!uwm.edu!chi-news.cic.net!newsfeed.internetmci.com!btnet!dispatch.news.demon.net!demon!pencotts.demon.co.uk
From: Andrew Gordon <andrew.gordon@net-tel.co.uk>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: SunOS -> FreeBSD lockf() problems
Date: Mon, 23 Oct 1995 00:12:54 GMT
Lines: 20
Message-ID: <814407174.20210@pencotts.demon.co.uk>
References: <TAROH.95Oct23033356@kani.cc.kanagawa-u.ac.jp>
NNTP-Posting-Host: pencotts.demon.co.uk
X-NNTP-Posting-Host: pencotts.demon.co.uk
X-Mailer: Mozilla 1.1N (X11; I; BSD/386 uname failed)
MIME-Version: 1.0
X-URL: news:TAROH.95Oct23033356@kani.cc.kanagawa-u.ac.jp
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii

taroh@kani.cc.kanagawa-u.ac.jp (Taroh Sasaki 101499) wrote:
>	I'm using FreeBSD machines and one of them is a /var/mail
>	file server through NFS.  From other FreeBSD machines,
>	lockf() works well in MH (with compile option LOCKF),
>	but a Sun SPARC fails.  Isn't there compatibility between
>	FreeBSD (2.1.0-951005-SNAP) and SunOS (4.1.3) lockf()s?
>	And should we give up locking from SunOS client?

FreeBSD does not currently support NFS file locking - so if your application
allows you to disable it safely, then you should do so.

I have been working on the server end of file locking, but due to pressure of
work I am unlikely to do much more on it before Christmas.  Progress so far is
a complete but hardly tested rpc.statd, and an empty shell of rpc.lockd (that
just says "yes" to all requests!).  If anybody wants the pieces so far to hack
at, please let me know.

Andrew Gordon.