.\" The Regents of the University of California. All rights reserved.
.\" %sccs.include.redist.roff%
.\" @(#)lfs_cleanerd.8 8.2 (Berkeley) %G%
.Nd garbage collect a log-structured file system
command starts a daemon process which garbage-collects
the log-structured file system residing at the point named by
in the global file system namespace.
This command is normally executed by
when the log-structured file system is mounted.
The daemon will exit within a few minutes
of when the file system it was cleaning is unmounted.
Garbage collection on a log-structured file system is done by scanning
the file system's segments for active, i.e. referenced, data and copying
When all of the active data in a given segment has been copied to a new
segment that segment can be marked as empty, thus reclaiming the space
taken by the inactive data which was in it.
The following options are available:
Do not become a daemon process, and print debugging information.
When cleaning the file system, read data in small chunks.
utility first appeared in 4.4BSD.