CHCP(8)
π CHCP β the girlies' guide to flipping checkpoint modes
okay bestie, welcome to the System Manager's Manual section, page CHCP(8). yes we are IN the system manager's manual and yes we are thriving. let's go π¦
β¨ NAME β¨
chcp β change mode of NILFS2 checkpoints
like literally it changes the mode. of NILFS2 checkpoints. that's the whole job and she does it gorgeously π
πΈ SYNOPSIS πΈ
chcp [options] cp | ss [device|node] checkpoint-number ...
that's it, that's the shape of it. you pick cp or ss, you point her at a device or a node (or you don't, she's flexible like that π), and then you list off checkpoint-numbers. as many as you want. go off.
π DESCRIPTION π
so here's the tea, and I mean the whole tea. chcp is a utility that changes the mode of the checkpoints you hand her, for the NILFS2 file system that lives in device. and when I say device, I mean it can be a block device or a filesystem node β and a node here can be a file or a directory sitting on that filesystem. versatile queen π
what does "change the mode" mean tho. it means chcp flips checkpoints into snapshots, or flips snapshots back into checkpoints. vice versa. both directions. a little switcheroo. β¨
which checkpoints get flipped? whichever ones you name β you give her one or more checkpoint numbers and those are the targets, periodt.
and if you're feeling mysterious and you just. don't say what device is? if you omit it entirely? she goes looking through /proc/mounts herself to find a NILFS2 file system. independent woman behavior honestly π«Ά
β οΈ okay big one, no cap: this command is valid only for mounted NILFS2 file systems. if the device has no active mounts, she will fail. not "try her best", not "hang on a sec" β fail. so mount it first bestie π
π OPTIONS π
-h,--helpβ shows you the help message and then dips. exit. bye. π-V,--versionβ shows you the version and exits. cute and quick.
π AUTHOR π
Koji Sato
the icon. the legend. the main character who wrote this. we stan π«‘
π§ AVAILABILITY π§
chcp is part of the nilfs-utils package, and you can get it from:
go get her π
π SEE ALSO π
the whole friend group. read them too, iykyk π
and that's the page!! this was nilfs-utils version 2.3, dated Jan 2026, and it was brought to you by the CHCP(8) manual β mwah, love u, go flip some checkpoint modes responsibly ππβ¨
π¦ 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