git: 7d62b5df8300 - main - nullfs.5: Add an example fstab(5) entry

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Tue, 15 Mar 2022 16:22:48 UTC
The branch main has been updated by 0mp (doc, ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=7d62b5df83000e3c5d14f0dfe8be22a2978534f4

commit 7d62b5df83000e3c5d14f0dfe8be22a2978534f4
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2022-03-15 16:20:15 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2022-03-15 16:21:51 +0000

    nullfs.5: Add an example fstab(5) entry
    
    Some other file system manual pages like msdosfs(5) feature similar
    examples as well.
    
    MFC after:      1 week
---
 share/man/man5/nullfs.5 | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/share/man/man5/nullfs.5 b/share/man/man5/nullfs.5
index 453648027bac..1cdd74bf53a1 100644
--- a/share/man/man5/nullfs.5
+++ b/share/man/man5/nullfs.5
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd February 10, 2015
+.Dd March 15, 2022
 .Dt NULLFS 5
 .Os
 .Sh NAME
@@ -55,6 +55,14 @@ To mount a
 file system:
 .Pp
 .Dl "mount_nullfs /usr/ports /home/devel/ports"
+.Pp
+It is also possible to define an entry in
+.Xr fstab 5
+that looks similar to:
+.Pp
+.Bd -literal
+/usr/ports	/home/devel/ports	nullfs		rw	0	0
+.Ed
 .Sh SEE ALSO
 .Xr fstab 5 ,
 .Xr mount_nullfs 8