NILFS_CLEANERD(8)
π NILFS_CLEANERD π
okay bestie, pull up a chair, because we're talking about a system daemon from the System Manager's Manual section, and honestly? she's kind of a queen. this is nilfs_cleanerd, aka the NILFS2 garbage collector, and she is here to free up your disk space. no cap. β¨
πΈ NAME πΈ
nilfs_cleanerd β the NILFS2 garbage collector. that's it, that's the name, and she knows exactly what she is ποΈπ
π¦ SYNOPSIS π¦
nilfs_cleanerd [-hV]
nilfs_cleanerd [options] device [directory]
two whole moods: the little quick -hV one, and the full-blown options device directory one. pick your fighter. π
β¨ DESCRIPTION β¨
nilfs_cleanerd is a system daemon whose whole job, her entire main character energy, is reclaiming disk space on a NILFS2 file system found in device. she's the cleaner. she's the one who shows up after the party and makes the place spotless. obsessed. π§Ήπ«Ά
the optional directory argument tells her where the mount point is β the place where the daemon operates. important detail: it must be an r/w-mount. r/w only, bestie. if it's not read-write she cannot and will not. π«
this program can get invoked two ways:
- automatically by
mount.nilfs2(8)β the chill way - manually by an administrator β the DIY way
but here's the thing, and listen carefully: users are recommended to invoke nilfs_cleanerd through mount.nilfs2(8) or mount(8), and shut it down through umount.nilfs2(8) or umount(8). why?? because doing it any other way risks state inconsistencies among administration tools. the tools need to be on the same page. don't start drama between your daemons, i'm begging. π
also, when she starts up, nilfs_cleanerd displays its process ID (pid) to standard output. she announces herself. as she should. π
π OPTIONS π
-V,--versionβ display version and exit. short, sweet, and she's out. βοΈ-h,--helpβ display help message and exit. when you need a little guidance. π₯Ί-cfile,--conf=file β specify configuration file. you pick the file, she reads the file. π€-pinterval,--protection-period=interval β override the protection period with the specified number of seconds. she's protecting things. for a specific amount of seconds. iconic behaviour, honestly. β³
π SIGNALS π
nilfs_cleanerd reacts to a set of signals. she's responsive! she listens! unlike some daemons we know. π
you may send a signal to nilfs_cleanerd using the PID shown by the mount command (or found in /etc/mtab). here's the little ritual:
# mount -t nilfs2
/dev/sdb1 on /nilfs type nilfs2 (rw,gcpid=PID)
# kill -SIGNAL PID
see that gcpid=PID? that's her. that's your girl. write it down. π
SIGHUPβ this letsnilfs_cleanerdperform a re-initialization. the configuration file (default is/etc/nilfs_cleanerd.conf) will be reread. she's refreshing herself, glow-up style. πSIGINT,SIGTERMβnilfs_cleanerdwill exit cleanly. no mess, no drama, just a graceful little goodbye. πͺβ¨SIGUSR1β this letsnilfs_cleanerddump the state into the system logger. she's journaling. very self-aware of her. π«ΆSIGUSR2β reserved for future use. this signal is ignored. β οΈ and now for the plot twist: if the version of nilfs-utils is equal to or older than 2.2.5, this letsnilfs_cleanerddie. not exit cleanly, not wave goodbye β die. so pls, check your version before you get chaotic. πͺ¦π
π FILES π
/etc/nilfs_cleanerd.confβ the configuration file fornilfs_cleanerd. seenilfs_cleanerd.conf(5)for the details, bestie, it's all in there. π
π AUTHOR π
Koji Sato, Ryusuke Konishi <konishi.ryusuke@gmail.com>.
legends. absolute legends. bow down. πββοΈπ
β AVAILABILITY β
nilfs_cleanerd is part of the nilfs-utils package and is available from https://nilfs.sourceforge.io. go get her. ποΈ
π SEE ALSO π
nilfs(8), mount.nilfs2(8), umount.nilfs2(8), nilfs_cleanerd.conf(5).
the whole friend group. iykyk. πΈ
and that's the whole page, bestie!! this was nilfs-utils version 2.3, dated Jan 2026 β so when you're out there reclaiming disk space, just remember: stay clean, stay r/w-mounted, and never send SIGUSR2 to an old version unless you want tragedy. π
π₯ bye!! π¦
π¦ 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