FreeBSD Unix Show Mounted File Systems

www.l‮uttua‬ri.com
FreeBSD Unix Show Mounted File Systems

To show the mounted file systems on a FreeBSD system, you can use the mount command without any arguments. This will display a list of all the file systems that are currently mounted on the system.

For example:

$ mount
/dev/da0s1a on / (ufs, local, read-only)
devfs on /dev (devfs, local, multilabel)
/dev/md0 on /var (ufs, local, read-only)

The output shows the device name, the mount point, the file system type, and some other information about the mounted file system.

You can also use the df command to show the mounted file systems. The df command displays information about the available and used disk space on the file systems.

For example:

$ df -h
Filesystem             Size    Used   Avail Capacity  Mounted on
/dev/da0s1a            895M    232M    626M    27%    /
devfs                  1.0K    1.0K      0B   100%    /dev
/dev/md0                90M     18M     72M    20%    /var

This will show the file system type, the size, the used space, the available space, and the capacity (percentage of used space) for each mounted file system.

Created Time:2017-10-28 20:40:36  Author:lautturi