lssu - list usage state of NILFS2 segments
lssu [options] [device]
lssu is a utility for displaying usage state of NILFS2 segments in
device, where a segment is contiguous lump of disk blocks and an
allocation unit of NILFS2 disk space. When device is omitted,
/proc/mounts is examined to find a NILFS2 file system.
This command will fail if the device has no active mounts of a NILFS2
-a Do not hide clean segments.
Skip index segments at start of input.
List only lines input segments.
-h Display help message and exit.
Every line of the lssu output consists of the following fields:
SEGNUM Segment number.
DATE Creation date.
TIME Creation time.
STAT State of the segment. It consists of three flags whose meaning
is shown below:
a The segment is active, meaning that it is recently
created and cannot be reclaimed by the garbage collector.
d The segment is dirty, meaning that it is in use.
e The segment is erroneous, meaning that it has once caused
an I/O error. NILFS2 avoids allocating the segments with
Number of in-use blocks of the segment.
Koji Sato <email@example.com>
lssu is part of the nilfs-utils package and is available from