Date: Thu, 22 Apr 2010 18:52:09 -0600 From: Tim Judd <tajudd@gmail.com> To: yuri@rawbw.com Cc: freebsd-questions@freebsd.org Subject: Re: Why nfs mounts are allowed that aren't in /etc/exports? Message-ID: <x2oade45ae91004221752ld3a5673yd0b75aafe9a3d365@mail.gmail.com> In-Reply-To: <4BD0ED00.4080709@rawbw.com> References: <4BD0ED00.4080709@rawbw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 4/22/10, Yuri <yuri@rawbw.com> wrote: > I only have this one line exports: > /usr/diskless.sparc64 -alldirs -maproot=root -network=192.168.0 > -mask=255.255.255.0 > > But somhow all mounts are succeed: /home, usr/ports, etc. > > Isn't exports supposed to limit what can be mounted? > > Yuri Because you didn't specify in this email where /home is mounted, I can only guess /home is actually a symlink to /usr/home Because /usr/home is under the /usr mountpoint and you specified '-alldirs' in the exports, any dir under /usr can be mounted. NFS exports work ONLY on mountpoints, they do not work under child directories unless -alldirs is specified and then any dir under that mountpoint can be mounted. Please check your system configuration and return to us. --Tim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?x2oade45ae91004221752ld3a5673yd0b75aafe9a3d365>