lscp − list NILFS2 checkpoints
lscp [options] [device]
lscp is a utility for displaying checkpoints or snapshots of the NILFS2 file system found in device. When device is omitted, it tries to find a NILFS2 file system from /proc/mounts.
This command is valid only for mounted NILFS2 file systems, and will fail if the device has no active mounts.
−r |
Reverse order. |
|||
−s |
List only snapshots. |
|||
−h |
Display help message and exit. |
Every line of the lscp output consists of the following seven fields:
CNO |
Checkpoint number. |
||
DATE |
Creation date. |
||
TIME |
Creation time. |
||
MODE |
Mode of the checkpoint; cp for a plain checkpoint, and ss for a snapshot. |
||
SKT |
Sketch flag. This shows whether the checkpoint has a valid sketch data or not. For details on sketch, see nilfs(8). |
NBLKINC
Number of blocks appended by the checkpoint.
ICNT |
Number of inodes included in the entire file system at the time specified by the checkpoint. |
Koji Sato <koji AT osrg DOT net>
lscp is part of the nilfs-utils package and is available from http://www.nilfs.org.