---
name: "vfs_unmountall"
section: "9"
platform: "linux"
package: "freebsd-manpages"
version: "6.0-5"
release: "Debian 4.0 (Etch)"
platforms: ["linux", "freebsd"]
url: "https://new.carta.tech/vfs_unmountall"
---

# vfs\_unmountall(9)

unmount all file systems

## NAME

**vfs\_unmountall** – unmount all file systems

## SYNOPSIS

**#include \<sys/param.h\>**

**#include \<sys/mount.h\>**

*void*\

**vfs\_unmountall**(*void*);

## DESCRIPTION

The **vfs\_unmountall** function, run only at system shutdown, unmounts all mounted file systems from most recent to oldest in order to avoid handling dependencies.

## SEE ALSO

[boot(9)](/boot/9.md)
