]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.bin/lsvfs/lsvfs.1
zfs: merge openzfs/zfs@8f1b7a6fa
[FreeBSD/FreeBSD.git] / usr.bin / lsvfs / lsvfs.1
1 .\" Garrett A. Wollman, September 1994
2 .\" This file is in the public domain.
3 .\"
4 .Dd December 28, 2020
5 .Dt LSVFS 1
6 .Os
7 .Sh NAME
8 .Nm lsvfs
9 .Nd list installed virtual file systems
10 .Sh SYNOPSIS
11 .Nm
12 .Op Ar vfsname Ar ...
13 .Sh DESCRIPTION
14 The
15 .Nm
16 command lists information about the currently loaded virtual file system
17 modules.
18 When
19 .Ar vfsname
20 arguments are given,
21 .Nm
22 lists information about the specified VFS modules.
23 Otherwise,
24 .Nm
25 lists all currently loaded modules.
26 The information is as follows:
27 .Pp
28 .Bl -tag -compact -width Filesystem
29 .It Filesystem
30 the name of the file system, as would be used in the
31 .Ar type
32 parameter to
33 .Xr mount 2
34 and the
35 .Fl t
36 option to
37 .Xr mount 8
38 .It Num
39 the filesystem type number.
40 .It Refs
41 the number of references to this VFS; i.e., the number of currently
42 mounted file systems of this type
43 .It Flags
44 flag bits.
45 .El
46 .Sh EXAMPLES
47 Show information about the
48 .Ql ufs
49 and
50 .Xr devfs 5
51 filesystems and check the number of mounts for the former:
52 .Bd -literal -offset indent
53 $ lsvfs ufs devfs
54 Filesystem                              Num  Refs  Flags
55 -------------------------------- ---------- -----  ---------------
56 ufs                              0x00000035     2
57 devfs                            0x00000071     1  synthetic, jail
58
59 $ mount -t ufs | wc -l
60        2
61 .Ed
62 .Sh SEE ALSO
63 .Xr mount 2 ,
64 .Xr getvfsbyname 3 ,
65 .Xr mount 8
66 .Sh HISTORY
67 A
68 .Nm
69 command appeared in
70 .Fx 2.0 .