From owner-freebsd-bugs Sat Dec 23 02:30:08 1995 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA02833 for bugs-outgoing; Sat, 23 Dec 1995 02:30:08 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA02821 Sat, 23 Dec 1995 02:30:04 -0800 (PST) Date: Sat, 23 Dec 1995 02:30:04 -0800 (PST) Message-Id: <199512231030.CAA02821@freefall.freebsd.org> To: freebsd-bugs Cc: From: J Wunsch Subject: Re: kern/909: exports: Bad lines. mountd won't export FS Reply-To: J Wunsch Sender: owner-bugs@FreeBSD.ORG Precedence: bulk The following reply was made to PR kern/909; it has been noted by GNATS. From: J Wunsch To: jin@pesto.lbl.gov Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/909: exports: Bad lines. mountd won't export FS Date: Sat, 23 Dec 1995 10:36:14 +0100 (MET) As Jin Guojun[ITG] wrote: > > There is no way to export two (2) subdirectories on a same > files system. > /usr/other -ro -mapall=nobody:100 -network xxxx.yyyy.zzzz -mask a.b.c.d > /usr/local -ro -mapall=nobody:100 -network xxxx.yyyy.zzzz -mask a.b.c.d > > Dec 22 05:56:17 myname mountd[76]: Can't change attributes for /usr/local. > Dec 22 05:56:17 myname mountd[76]: Bad exports list line /usr/local -ro -mapall > Dec 22 05:56:17 myname mountd[76]: Bad exports list line /usr/local -ro -mapall Please, read the man page for exports(5). By the nature of how NFS exporting works, you can have only one set of attributes per physical file system. Our exports enforces this by only allowing multiple subdirectories of a single physical file system if they appear in the same line: /usr/other /usr/local -ro -mapall=nobody:100 -network xxxx.yyyy.zzzz -mask a.b.c.d -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)