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 callumount.nilfs2. valid forumount(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 β becausemount.nilfs2andumount.nilfs2use that table to store the process ID ofnilfs_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
- alpine 3.24: nilfs-utils-doc 2.3.0-r0 Β· GPL-2.0-or-later
- arch rolling: nilfs-utils 2.3.1-1 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- nixpkgs unstable: nilfs-utils 2.3.1
- Copyright (C) 2007-2012 Nippon Telegraph and Telephone Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms