UMOUNT.NILFS2(8)

πŸ’– UMOUNT.NILFS2 πŸ’–

okay so bestie, welcome to umount.nilfs2 β€” it's a page from the System Manager's Manual, and it's literally the NILFS2 unmount helper. no cap, it's giving "graceful exit" energy. let's get into it πŸ¦‹


✨ NAME ✨

umount.nilfs2 β€” unmount NILFS2 file systems. yes, that's the whole vibe. it detaches, it says bye, it does it cleanly πŸ’…


🌸 SYNOPSIS 🌸

umount [-t nilfs2] [-dfilnrv] device | dir [...]

umount.nilfs2 [-nrv] dir [...]

umount.nilfs2 [-V]

three whole ways to summon her, pick your fighter ✨


πŸŽ€ DESCRIPTION πŸŽ€

so umount.nilfs2 detaches the NILFS2 file system(s) mentioned from the file hierarchy. that's the job, that's the assignment, and she ate πŸ”₯

but here's the special sauce: this is the umount helper for NILFS2, and its whole extra thing is that it shuts down the garbage collector nilfs_cleanerd(8) before detaching the file system. like, she makes sure the cleanerd clocks out before she locks up. queen behaviour πŸ‘‘

usually you shouldn't even call her directly β€” she should be invoked through umount(8). iykyk, let the main character make the intros.


πŸ’… OPTIONS πŸ’…

okay so for the full full set of options, go read umount(8), she's the one with the whole wardrobe. but these are the ones that get the most play with NILFS2:

  • -V β€” print version and exit. short, sweet, iconic.
  • -i β€” don't call umount.nilfs2. valid for umount(8). (yes bestie, the "don't use me" flag is on me. chaotic? maybe. real? absolutely.)
  • -n β€” unmount without writing in /etc/mtab. ⚠️ you must use this one carefully, fr fr β€” because mount.nilfs2 and umount.nilfs2 use that table to store the process ID of nilfs_cleanerd(8). so if you ghost the table, you're ghosting the pid too. be mindful, bestie 🫢
  • -r β€” in case unmounting fails, try to remount read-only. it's the backup plan, the safety net, the "well at least we tried" πŸ’œ
  • -v β€” verbose mode. she will tell you things. love that for her.

πŸŒ€ THE LOOP DEVICE πŸŒ€

so umount.nilfs2 will free the loop device (if any) associated with the mount β€” but only in case it finds the option loop=... in /etc/mtab. like, it has to see the receipts first πŸ”

and lowkey important: the -d option, which also allows umount(8) to free the loop device without the loop=... option, is not supported. nope. not here. don't try it πŸ™ˆ


πŸ‘‘ AUTHOR πŸ‘‘

umount.nilfs2 is written by Ryusuke Konishi <konishi.ryusuke@gmail.com> for NILFS2, based on the umount program included in the util-linux package. a legend, honestly. we stan πŸ’–


🌈 AVAILABILITY 🌈

umount.nilfs2 is part of the nilfs-utils package and is available from https://nilfs.sourceforge.io. go get her ✨


πŸ”— SEE ALSO πŸ”—

the whole friend group, linked and ready to hang out 🫢


and that's the page, bestie!! this whole thing ships as nilfs-utils version 2.3, dated Jan 2026, and it lives in the System Manager's Manual as UMOUNT.NILFS2(8). stay unmounted, stay unbothered πŸ’…πŸ’–βœ¨

πŸ“¦ where this page comes from