[Bug 233584] nfs multiple exports from same mount point

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 07 Mar 2025 14:18:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233584

Krutarth Patel <krutarthpatel929@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |krutarthpatel929@gmail.com

--- Comment #6 from Krutarth Patel <krutarthpatel929@gmail.com> ---
I would like to work on this. Should this go in the handbook? Do I need to send
a patch somewhere? 

borrowing the naming from the description a simple workaround would be:

mount_nullfs /data/foo /mnt/nullfs/foo

add this to /etc/exports:

/data/bar client
/mnt/nullfs/foo -ro client


Also, https://man.freebsd.org/cgi/man.cgi?query=nfsv4&sektion=4&format=html
does not mention a feature like this and I don't have a setup to test right
now. Is this added in nfsv4? 

If not, maybe this workaround could be added to the nvfv4's manpage?

While going through
https://docs.freebsd.org/en/books/handbook/network-servers/#network-nfs Section
32.3.1, I noticed a mistake in the sentence: 
> The next example exports /home to three clients by IP address . 
The example exports /usr/home instead of /home. Since the fix is small, this
can be added to a relevant documentation bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.