LSCP(1)
β¨ LSCP(1) β¨
okay bestie, welcome to lscp from the General Commands Manual β the NILFS2 checkpoint lister that literally eats π
πΈ NAME πΈ
lscp β list NILFS2 checkpoints
π SYNOPSIS π
lscp [options] [device|node]
π¦ DESCRIPTION π¦
so lscp is that utility that shows you the checkpoints or snapshots of the NILFS2 file system living inside device. and when we say device, we mean it can be a block device or a filesystem node β like a file or a directory β on the filesystem. either one, she's flexible like that π
and if you just... don't pass a device at all? no stress, bestie. lscp goes and peeks at /proc/mounts to find itself a NILFS2 file system. iconic behavior honestly.
π¨ but heads up β this command will fail if the device has no active mounts of a NILFS2 file system. like, no mounts, no vibes, no output. periodt.
π OPTIONS π
-a,--allβ do not hide minor checkpoints. show me everything, we're nosy π«Ά-b,--show-block-countβ show the number of used blocks instead of appended blocks. this is the default mode, so if you do nothing, this is what you get β¨-g,--show-incrementβ show the number of appended blocks instead of used blocks. the swap-in sister of-b-r,--reverseβ reverse the order. flip it, turn it, reverse it π-s,--snapshotβ list only snapshots. snapshots only, no plain checkpoints allowed-iindex,--index=indexβ skipindexcheckpoints (or snapshots) at the start of the input. like scrolling past the first few, but in flag form-nlines,--lines=linesβ list onlylinescheckpoints (or snapshots) from the input. a lil limit, a lil snack π-h,--helpβ display the help message and exit. your little "what does this do again" button-V,--versionβ display the version and exit. show me the numbers π
π FIELD DESCRIPTION π
every single line of lscp output is made of seven fields, bestie. seven. here's the tea on each one:
- CNO β checkpoint number.
- DATE β creation date.
- TIME β creation time.
- MODE β mode of the checkpoint;
cpfor a plain checkpoint, andssfor a snapshot. - FLG β flags on the checkpoint. at present, the character
i'' gets printed in this field if the checkpoint was created **only** by garbage collection, checkpoint mode change, or other change of internal state. otherwise-'' gets printed. so it's givingior it's giving-, no in between π - NBLKINC (optional) β number of blocks appended by the checkpoint. this field is displayed instead of the
BLKCNTfield when the-goption is specified. so it's an either/or situation, she doesn't do both. - BLKCNT β number of blocks used by the checkpoint.
- ICNT β number of inodes included in the entire file system at the time specified by the checkpoint.
π BUGS π
NILFS2 in Linux kernel version 2.6.38 and earlier does not support the block count (BLKCNT) information. so on old kernels that field is just... not it. π
π AUTHOR π
Koji Sato
π AVAILABILITY π
lscp is part of the nilfs-utils package and is available from <https://nilfs.sourceforge.io>. π
π§ SEE ALSO π§
nilfs(8), mkcp(8), chcp(8), rmcp(8), nilfs-tune(8).
and that's the whole page, bestie π this was nilfs-utils version 2.3, dated Jan 2026, signing off with main character energy β go list some checkpoints, you absolute icon β¨π
π¦
π¦ where this page comes from
- alpine 3.24: nilfs-utils-doc 2.3.0-r0 Β· GPL-2.0-or-later
- arch rolling: nilfs-utils 2.3.1-1 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- nixpkgs unstable: nilfs-utils 2.3.1
- Copyright (C) 2007-2012 Nippon Telegraph and Telephone Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms