1LSCP(1) General Commands Manual LSCP(1)
2
3
4
6 lscp - list NILFS2 checkpoints
7
9 lscp [options] [device]
10
12 lscp is a utility for displaying checkpoints or snapshots of the NILFS2
13 file system found in device. When device is omitted, /proc/mounts is
14 examined to find a NILFS2 file system.
15
16 This command will fail if the device has no active mounts of a NILFS2
17 file system.
18
20 -r Reverse order.
21
22 -s List only snapshots.
23
24 -i index
25 Skip index checkpoints (or snapshots) at start of input.
26
27 -n lines
28 List only lines input checkpoints (or snapshots).
29
30 -h Display help message and exit.
31
33 Every line of the lscp output consists of the following seven fields:
34
35 CNO Checkpoint number.
36
37 DATE Creation date.
38
39 TIME Creation time.
40
41 MODE Mode of the checkpoint; cp for a plain checkpoint, and ss for a
42 snapshot.
43
44 FLG (experimental)
45 Flags on the checkpoint. At present, character ``i'' is printed
46 in the field if the checkpoint was created only by garbage col‐
47 lection, checkpoint mode change, or other change of internal
48 state. Otherwise ``-'' is printed.
49
50 NBLKINC
51 Number of blocks appended by the checkpoint.
52
53 ICNT Number of inodes included in the entire file system at the time
54 specified by the checkpoint.
55
57 Koji Sato <koji@osrg.net>
58
60 lscp is part of the nilfs-utils package and is available from
61 http://www.nilfs.org.
62
64 nilfs(8), mkcp(8), chcp(8), rmcp(8).
65
66
67
68nilfs-utils version 2.0 May 2008 LSCP(1)