git: 951da8807da7 - stable/13 - nullfs.5: Add an example fstab(5) entry

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

URL: https://cgit.FreeBSD.org/src/commit/?id=951da8807da75d3b1ae05d82f07843cbb7810df6

commit 951da8807da75d3b1ae05d82f07843cbb7810df6
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2022-03-15 16:20:15 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2022-03-22 22:26:35 +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
    
    (cherry picked from commit 7d62b5df83000e3c5d14f0dfe8be22a2978534f4)
---
 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