lsvfs(1)

lsvfs1

List installed virtual file systems

Usage

lsvfs [vfsname ...]

Overview

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) and the -t option to mount(8)

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 ‘apfs’ and ‘devfs’ filesystems and check the number of mounts for the former:

$ lsvfs apfs devfs
Filesystem                        Refs Flags
-------------------------------- ----- ---------------
apfs                                 5 local
devfs                                1
$ mount -t apfs | wc -l
       5

Releases

145 releases since Mac OS X 10.3; the text changed 2 times.

  1. 10.3–10.14.6
  2. 10.15–12.5
  3. 13.0–26.5

History

A lsvfs command appeared in FreeBSD 2.0.

From adv_cmds 237 in macOS 26.5. Parsed by carta from the page's mdoc source.