Subject: Re: bin/2556: mountd ALLDIRS deficiency
To: William O Ferry <WOFerry+@CMU.EDU>
From: David Brownlee <david@mono.org>
List: netbsd-bugs
Date: 06/18/1996 10:25:47
On Mon, 17 Jun 1996, William O Ferry wrote:
> Forgive me for asking this, but what is the -alldirs option supposed
> to do? I have the line in my exports file:
>
> / -alldirs mulligan.res.cmu.edu
>
> And I've removed the -alldirs, it seems to make absolutely no
> difference. My assumption was that -alldirs would allow the remote site
> to cross mountpoints on the NFS filesystem. At least on my system, this
> is certainly not the case (/home and such always show as empty on
> mulligan). If not having -alldirs should allow the remote machine to
> only see the named directory, that also doesn't work on my machine. If
> I'm way off base on these, just what should -alldirs do??? And is there
> a way to allow the remote machine to traverse mountpoints?
>
Alldirs allows the remote machine to mount any directory within
the exported filesystem.
eg: on a machine with local mountpoints of '/' and '/usr', if you
export /usr -alldirs a remote machine could mount /usr/share &
/usr/local.
If you want to export multiple filesystems you have to enumerate
each in /etc/exports.
David/abs (david@mono.org)
.---- I've been too drunk to love ----.--- I've been too drunk to remember -.
| Too drunk to care | The hell of the night before |
| Looked like death, felt like Hell | I've been drinking myself blind |
`------ Been the worse for wear ------'--- And still I'll drink some more --'