Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Nov 2009 11:22:06 -0500
From:      Randy Sofia <rsofia@poly.edu>
To:        doc@FreeBSD.org
Subject:   Missing context in handbook
Message-ID:  <4AF841AE.1030804@poly.edu>

next in thread | raw e-mail | index | archive | help
http://www.freebsd.org/doc/en/books/handbook/network-nfs.html

The handbook specifies "The -alldirs flag allows the subdirectories to 
be mount points. In other words, it will not mount the subdirectories 
but permit the client to mount only the directories that are required or 
needed."

While this is true, it is not noted in the handbook that it will also 
allow directories BELOW that directory to be mountable so long as it is 
part of the same file system.  As stated in the man pages:

 "the -alldirs flag; this form allows the host(s) to
     mount at any point within the file system, including regular files 
if the
     -r option is used on mountd(8)."


So for example if my /etc/exports looks like:
/home/randy  -alldirs  10.0.0.2 10.0.0.3 10.0.0.4


Not only will I be able to mount  /home/randy/Desktop   but I will also 
be able to mount /home/boris as well (if /home/randy and /home/boris are 
on the same file system).

--randy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AF841AE.1030804>