diff options
author | Mateusz Piotrowski <0mp@FreeBSD.org> | 2022-07-21 18:06:32 +0000 |
---|---|---|
committer | Mateusz Piotrowski <0mp@FreeBSD.org> | 2022-07-25 20:01:23 +0000 |
commit | c84f758b2fcac48ed28bd9e5388d6ce4361e5906 (patch) | |
tree | aef4bb187d1f18b9b06feaaa90cd812760c057de | |
parent | 55c4cfd67d11504869d6ff63fec892055f3465e9 (diff) |
tmpfs.5: Add fstab line example
MFC after: 3 days
(cherry picked from commit 7c2ec6cdf575de11d5ed33109d92e757dd3d072c)
-rw-r--r-- | share/man/man5/tmpfs.5 | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/share/man/man5/tmpfs.5 b/share/man/man5/tmpfs.5 index 84b394da6210..82b0f41bfd60 100644 --- a/share/man/man5/tmpfs.5 +++ b/share/man/man5/tmpfs.5 @@ -53,7 +53,7 @@ .\" .\" $FreeBSD$ .\" -.Dd September 8, 2017 +.Dd July 21, 2022 .Dt TMPFS 5 .Os .Sh NAME @@ -141,11 +141,19 @@ Specifies the maximum file size in bytes. Defaults to the maximum possible value. .El .Sh EXAMPLES -To mount a +Mount a .Nm memory file system: .Pp .Dl "mount -t tmpfs tmpfs /tmp" +.Pp +Configure a +.Nm +mount via +.Xr fstab 5 : +.Bd -literal -offset indent +tmpfs /tmp tmpfs rw 0 0 +.Ed .Sh SEE ALSO .Xr procstat 1 , .Xr mmap 2 , |