---
name: "lsvfs"
section: "1"
platform: "freebsd"
package: "base"
version: "16.0-CURRENT-20261027-61c70dc16a79"
release: "FreeBSD 16.0-CURRENT (2026-10-27)"
platforms: ["freebsd", "macos"]
url: "https://new.carta.tech/lsvfs"
---

# lsvfs(1)

list installed virtual file systems

## NAME

**lsvfs** – list installed virtual file systems

## SYNOPSIS

**lsvfs** \[*vfsname* *...*\]

## DESCRIPTION

The **lsvfs** command lists information about the currently loaded virtual file system modules. When *vfsname* arguments are given, **lsvfs** lists information about the specified VFS modules. Otherwise, **lsvfs** lists all currently loaded modules. The information is as follows:

- Filesystem

  the name of the file system, as would be used in the *type* parameter to [mount(2)](/mount/2.md) and the **-t** option to [mount(8)](/mount/8.md)

- Num

  the filesystem type number.

- Refs

  the number of references to this VFS; i.e., the number of currently mounted file systems of this type

- Flags

  flag bits.

## EXAMPLES

Show information about the ‘ufs’ and [devfs(4)](/devfs/4.md) filesystems and check the number of mounts for the former:

```
$ lsvfs ufs devfs
Filesystem                              Num  Refs  Flags
-------------------------------- ---------- -----  ---------------
ufs                              0x00000035     2
devfs                            0x00000071     1  synthetic, jail
$ mount -t ufs | wc -l
       2
```

## SEE ALSO

[mount(2)](/mount/2.md), [getvfsbyname(3)](/getvfsbyname/3.md), [mount(8)](/mount/8.md)

## HISTORY

A **lsvfs** command appeared in FreeBSD 2.0.
