xref: /freebsd/usr.bin/lsvfs/lsvfs.1 (revision 1a720cbec513210fa2e85c3882741ef2f6dc5f35)
12a136300SGarrett Wollman.\" Garrett A. Wollman, September 1994
22a136300SGarrett Wollman.\" This file is in the public domain.
32a136300SGarrett Wollman.\"
40ce6e534SFernando Apesteguía.Dd December 28, 2020
52a136300SGarrett Wollman.Dt LSVFS 1
62a136300SGarrett Wollman.Os
72a136300SGarrett Wollman.Sh NAME
82a136300SGarrett Wollman.Nm lsvfs
92a136300SGarrett Wollman.Nd list installed virtual file systems
102a136300SGarrett Wollman.Sh SYNOPSIS
118fe908efSRuslan Ermilov.Nm
122a136300SGarrett Wollman.Op Ar vfsname Ar ...
132a136300SGarrett Wollman.Sh DESCRIPTION
142a136300SGarrett WollmanThe
15f71970ddSPhilippe Charnier.Nm
162a136300SGarrett Wollmancommand lists information about the currently loaded virtual file system
176a3e8b0aSRuslan Ermilovmodules.
186a3e8b0aSRuslan ErmilovWhen
192a136300SGarrett Wollman.Ar vfsname
202a136300SGarrett Wollmanarguments are given,
21f71970ddSPhilippe Charnier.Nm
226a3e8b0aSRuslan Ermilovlists information about the specified VFS modules.
236a3e8b0aSRuslan ErmilovOtherwise,
24f71970ddSPhilippe Charnier.Nm
252a136300SGarrett Wollmanlists all currently loaded modules.
262a136300SGarrett WollmanThe information is as follows:
272a136300SGarrett Wollman.Pp
282a136300SGarrett Wollman.Bl -tag -compact -width Filesystem
292a136300SGarrett Wollman.It Filesystem
302a136300SGarrett Wollmanthe name of the file system, as would be used in the
312a136300SGarrett Wollman.Ar type
322a136300SGarrett Wollmanparameter to
332a136300SGarrett Wollman.Xr mount 2
340fccc7daSBruce Evansand the
350fccc7daSBruce Evans.Fl t
360fccc7daSBruce Evansoption to
370fccc7daSBruce Evans.Xr mount 8
38c0f826e6SHiroki Sato.It Num
39c0f826e6SHiroki Satothe filesystem type number.
402a136300SGarrett Wollman.It Refs
412a136300SGarrett Wollmanthe number of references to this VFS; i.e., the number of currently
422a136300SGarrett Wollmanmounted file systems of this type
432a136300SGarrett Wollman.It Flags
440fccc7daSBruce Evansflag bits.
452a136300SGarrett Wollman.El
460ce6e534SFernando Apesteguía.Sh EXAMPLES
470ce6e534SFernando ApesteguíaShow information about the
480ce6e534SFernando Apesteguía.Ql ufs
490ce6e534SFernando Apesteguíaand
50*1a720cbeSAlexander Ziaee.Xr devfs 4
510ce6e534SFernando Apesteguíafilesystems and check the number of mounts for the former:
520ce6e534SFernando Apesteguía.Bd -literal -offset indent
530ce6e534SFernando Apesteguía$ lsvfs ufs devfs
540ce6e534SFernando ApesteguíaFilesystem                              Num  Refs  Flags
550ce6e534SFernando Apesteguía-------------------------------- ---------- -----  ---------------
560ce6e534SFernando Apesteguíaufs                              0x00000035     2
570ce6e534SFernando Apesteguíadevfs                            0x00000071     1  synthetic, jail
580ce6e534SFernando Apesteguía
590ce6e534SFernando Apesteguía$ mount -t ufs | wc -l
600ce6e534SFernando Apesteguía       2
610ce6e534SFernando Apesteguía.Ed
622a136300SGarrett Wollman.Sh SEE ALSO
632a136300SGarrett Wollman.Xr mount 2 ,
64c0f826e6SHiroki Sato.Xr getvfsbyname 3 ,
652a136300SGarrett Wollman.Xr mount 8
662a136300SGarrett Wollman.Sh HISTORY
672a136300SGarrett WollmanA
682a136300SGarrett Wollman.Nm
694a8d0283SMike Pritchardcommand appeared in
70f71970ddSPhilippe Charnier.Fx 2.0 .
71