tmpfs.5: Add fstab line example

MFC after:	3 days
This commit is contained in:
Mateusz Piotrowski 2022-07-21 20:06:32 +02:00
parent 2b693e4829
commit 7c2ec6cdf5

View File

@ -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 ,