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:

https://nilfs.sourceforge.io

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