1999-08-28 01:08:13 +00:00
|
|
|
.\" $FreeBSD$
|
1994-09-22 01:25:57 +00:00
|
|
|
.\" Garrett A. Wollman, September 1994
|
|
|
|
.\" This file is in the public domain.
|
|
|
|
.\"
|
2020-12-29 20:35:24 +00:00
|
|
|
.Dd December 28, 2020
|
1994-09-22 01:25:57 +00:00
|
|
|
.Dt LSVFS 1
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm lsvfs
|
2005-01-24 20:06:16 +00:00
|
|
|
.Nd list installed virtual file systems
|
1994-09-22 01:25:57 +00:00
|
|
|
.Sh SYNOPSIS
|
2000-11-20 19:21:22 +00:00
|
|
|
.Nm
|
1994-09-22 01:25:57 +00:00
|
|
|
.Op Ar vfsname Ar ...
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
2000-03-26 14:41:07 +00:00
|
|
|
.Nm
|
2002-12-12 17:26:04 +00:00
|
|
|
command lists information about the currently loaded virtual file system
|
2004-07-02 22:22:35 +00:00
|
|
|
modules.
|
|
|
|
When
|
1994-09-22 01:25:57 +00:00
|
|
|
.Ar vfsname
|
|
|
|
arguments are given,
|
2000-03-26 14:41:07 +00:00
|
|
|
.Nm
|
2004-07-02 22:22:35 +00:00
|
|
|
lists information about the specified VFS modules.
|
|
|
|
Otherwise,
|
2000-03-26 14:41:07 +00:00
|
|
|
.Nm
|
1994-09-22 01:25:57 +00:00
|
|
|
lists all currently loaded modules.
|
|
|
|
The information is as follows:
|
|
|
|
.Pp
|
|
|
|
.Bl -tag -compact -width Filesystem
|
|
|
|
.It Filesystem
|
2002-12-12 17:26:04 +00:00
|
|
|
the name of the file system, as would be used in the
|
1994-09-22 01:25:57 +00:00
|
|
|
.Ar type
|
|
|
|
parameter to
|
|
|
|
.Xr mount 2
|
1998-08-29 13:53:22 +00:00
|
|
|
and the
|
|
|
|
.Fl t
|
|
|
|
option to
|
|
|
|
.Xr mount 8
|
2013-06-09 16:33:32 +00:00
|
|
|
.It Num
|
|
|
|
the filesystem type number.
|
1994-09-22 01:25:57 +00:00
|
|
|
.It Refs
|
|
|
|
the number of references to this VFS; i.e., the number of currently
|
2002-12-12 17:26:04 +00:00
|
|
|
mounted file systems of this type
|
1994-09-22 01:25:57 +00:00
|
|
|
.It Flags
|
1998-08-29 13:53:22 +00:00
|
|
|
flag bits.
|
1994-09-22 01:25:57 +00:00
|
|
|
.El
|
2020-12-29 20:35:24 +00:00
|
|
|
.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
|
1994-09-22 01:25:57 +00:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr mount 2 ,
|
2013-06-09 16:33:32 +00:00
|
|
|
.Xr getvfsbyname 3 ,
|
1994-09-22 01:25:57 +00:00
|
|
|
.Xr mount 8
|
|
|
|
.Sh HISTORY
|
|
|
|
A
|
|
|
|
.Nm
|
1996-01-30 13:52:50 +00:00
|
|
|
command appeared in
|
2000-03-26 14:41:07 +00:00
|
|
|
.Fx 2.0 .
|