lscp (1) - Linux Man Pages

lscp: list NILFS2 checkpoints

NAME

lscp - list NILFS2 checkpoints

SYNOPSIS

lscp [options] [device]

DESCRIPTION

lscp is a utility for displaying checkpoints or snapshots of the NILFS2 file system found in device. 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 file system.

OPTIONS

-r
Reverse order.
-s
List only snapshots.
-i index
Skip index checkpoints (or snapshots) at start of input.
-n lines
List only lines input checkpoints (or snapshots).
-h
Display help message and exit.

FIELD DESCRIPTION

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.
FLG (experimental)
Flags on the checkpoint. At present, character ``i'' is printed in the field if the checkpoint was created only by garbage collection, checkpoint mode change, or other change of internal state. Otherwise ``-'' is printed.
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.

AUTHOR

Koji Sato <koji [at] osrg.net>

AVAILABILITY

lscp is part of the nilfs-utils package and is available from http://www.nilfs.org.

SEE ALSO

nilfs(8), mkcp(8), chcp(8), rmcp(8).