lsvfs(1): Add EXAMPLES section
Add one simple exapmle and contrast some of the information using mount(8) PR: Submitted by: Reported by: Reviewed by: gbe@, yuripv@ Approved by: manpages (bcr@) Obtained from: MFC after: MFH: Relnotes: Security: Sponsored by: Differential Revision: https://reviews.freebsd.org/D27544
This commit is contained in:
parent
a3434cdc6b
commit
0ce6e534d3
@ -2,7 +2,7 @@
|
|||||||
.\" Garrett A. Wollman, September 1994
|
.\" Garrett A. Wollman, September 1994
|
||||||
.\" This file is in the public domain.
|
.\" This file is in the public domain.
|
||||||
.\"
|
.\"
|
||||||
.Dd June 9, 2013
|
.Dd December 28, 2020
|
||||||
.Dt LSVFS 1
|
.Dt LSVFS 1
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -44,6 +44,22 @@ mounted file systems of this type
|
|||||||
.It Flags
|
.It Flags
|
||||||
flag bits.
|
flag bits.
|
||||||
.El
|
.El
|
||||||
|
.Sh EXAMPLES
|
||||||
|
Show information about the
|
||||||
|
.Ql ufs
|
||||||
|
and
|
||||||
|
.Xr devfs 5
|
||||||
|
filesystems and check the number of mounts for the former:
|
||||||
|
.Bd -literal -offset indent
|
||||||
|
$ lsvfs ufs devfs
|
||||||
|
Filesystem Num Refs Flags
|
||||||
|
-------------------------------- ---------- ----- ---------------
|
||||||
|
ufs 0x00000035 2
|
||||||
|
devfs 0x00000071 1 synthetic, jail
|
||||||
|
|
||||||
|
$ mount -t ufs | wc -l
|
||||||
|
2
|
||||||
|
.Ed
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr mount 2 ,
|
.Xr mount 2 ,
|
||||||
.Xr getvfsbyname 3 ,
|
.Xr getvfsbyname 3 ,
|
||||||
|
Loading…
Reference in New Issue
Block a user