DOKK / manpages / debian 10 / freebsd-manpages / vfs_unmountall.9freebsd.en
VFS_UNMOUNTALL(9) Kernel Developer's Manual VFS_UNMOUNTALL(9)

vfs_unmountallunmount all file systems

#include <sys/param.h>
#include <sys/mount.h>

void
vfs_unmountall(void);

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.

boot(9)

July 26, 2001 Debian