VFS_UNMOUNTALL(9)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1, nixpkgs unstable

πŸ’… VFS_UNMOUNTALL(9) β€” unmount all file systems πŸ’…

okay bestie, this is a page from the Kernel Developer's Manual, and it's giving shutdown-time cleanup main character energy. no cap.


🌸 NAME 🌸

vfs_unmountall β€” unmount all file systems


✨ SYNOPSIS ✨

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

void
vfs_unmountall(void);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the vfs_unmountall function is literally only run at system shutdown. it unmounts all mounted file systems, going from most recent to oldest, so it doesn’t have to deal with dependencies. slay.

heads up, bestie: this is shutdown-only behavior β€” it’s run only at system shutdown, periodt.

πŸŽ€ SEE ALSO πŸŽ€


xoxo, Debian πŸ’– Β· July 26, 2001 Β· VFS_UNMOUNTALL(9) 🫢

πŸ“¦ where this page comes from