git: dd999ed9463e - stable/12 - nullfs.5: Add an example fstab(5) entry
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 22 Mar 2022 22:27:15 UTC
The branch stable/12 has been updated by 0mp (doc, ports committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=dd999ed9463e3f4f3fe43e843510c8ed371100ed
commit dd999ed9463e3f4f3fe43e843510c8ed371100ed
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:25 +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