Subject: Re: Mountd & /etc/exports
To: None <port-sparc@netbsd.org>
From: maximum entropy <entropy@tappedin.com>
List: port-sparc
Date: 06/30/2001 19:55:20
>From: woods@weird.com (Greg A. Woods)
>Date: Sat, 30 Jun 2001 19:19:07 -0400 (EDT)
>
>[ On Saturday, June 30, 2001 at 16:49:21 (-0400), maximum entropy wrote: ]
>> Subject: Re: Mountd & /etc/exports
>>
>> You should only export the filesystem once, giving the -alldirs
>> option.  You can't really export individual directories, only
>> filesystems.
>
>hmmm.....  this reminds me of the issue I encountered with NFS clients
>getting weird errors while building floppy images in 'make release'....
>
>Indeed what you say is kinda what I thought based on my past experiences
>and reading, but that makes me wonder about the issue that caused the
>fix to PR#5844 to be undone.  If there can be only one active mount in
>the kernel per filesystem then what possible information can be left
>"stuck" in the kernel when a given filesystem is unexported?

Well, a re-read of the man page for exports shows that what I said
isn't quite true, and you should be able to explicitly export
individual subdirectories.  It's pointless, but supposedly allowed.
If it's not working as expected, it's probably best to just not do
that.

Cheers,
entropy

--
entropy -- it's not just a good idea, it's the second law.