From 7c2ec6cdf575de11d5ed33109d92e757dd3d072c Mon Sep 17 00:00:00 2001 From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Thu, 21 Jul 2022 20:06:32 +0200 Subject: [PATCH] tmpfs.5: Add fstab line example MFC after: 3 days --- share/man/man5/tmpfs.5 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/share/man/man5/tmpfs.5 b/share/man/man5/tmpfs.5 index 53d4c02b0ae..b934fe02868 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 @@ -142,11 +142,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 ,