VFS_UNMOUNT(9)

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

✨ NAME ✨

okay so this is VFS_UNMOUNT(9) β€” from the Kernel Developer's Manual, no less β€” and it’s literally the page about unmounting a file system. bestie, it’s giving β€œwe’re packing up the whole filesystem era” πŸ’….

πŸ¦‹ SYNOPSIS πŸ¦‹

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

int
VFS_UNMOUNT(struct mount *mp, int mntflags);

πŸ’– DESCRIPTION πŸ’–

The VFS_UNMOUNT() macro unmounts a file system. yes, macro β€” not me being dramatic, that’s what it says.

The arguments it expects are:

  • mp β€” The file system.
  • mntflags β€” Bit-mask of flags for the unmount operation. The flags currently supported by VFS_UNMOUNT() are:
    • MNT_FORCE β€” Open files are forcibly closed before the file system is unmounted.
ngl, MNT_FORCE is giving β€œbestie, I said we’re LEAVING” πŸ”₯ β€” open files are forcibly closed before the file system is unmounted. periodt.

🌸 SEE ALSO 🌸

πŸŽ€ AUTHORS πŸŽ€

This manual page was written by Doug Rabson. iconic behavior, honestly πŸ‘‘.


source/version line says Debian, dated May 23, 2009 β€” that’s the cute sign-off, bestie πŸ’–

πŸ“¦ where this page comes from