MKCP(8)

πŸ’… MKCP β€” bestie edition πŸ’…

ok so this is mkcp, section 8 of the System Manager's Manual, and she is the girl for making checkpoints. sit down, grab a strawberry πŸ“, we're doing NILFS2 lore.


✨ NAME ✨

mkcp β€” make a NILFS2 checkpoint πŸŽ€


✨ SYNOPSIS ✨

mkcp [options] [device|node]

✨ DESCRIPTION ✨

okay so mkcp is the utility that makes a checkpoint or a snapshot for the NILFS2 file system that lives in device. no cap. πŸ¦‹

device can be either:

  • a block device, or
  • a filesystem node β€” meaning a file or a directory on the filesystem.

and if you just... don't give it a device at all? it's giving detective energy πŸ” and it tries to find a NILFS2 file system from /proc/mounts all by itself. independent queen.

⚠️ big one, bestie, read it twice: this command is valid only for mounted NILFS2 file systems. if the device has no active mounts, it will fail. periodt. it's not being dramatic, that's just the rules. πŸ’€

✨ OPTIONS ✨

  • -s, --snapshot β€” create a snapshot. iconic behavior, honestly. ✨
  • -p, --print β€” print the checkpoint number when it's successfully created. so you get the receipts 🧾
  • -h, --help β€” display the help message and exit. always here for you 🫢
  • -V, --version β€” display the version and exit. main character reveal 🌈

✨ AUTHOR ✨

Koji Sato πŸ‘‘ (we stan)


✨ AVAILABILITY ✨

mkcp is part of the nilfs-utils package and is available from https://nilfs.sourceforge.io β€” go get her πŸ’–


✨ SEE ALSO ✨

nilfs(8), lscp(1), chcp(8), rmcp(8), nilfs-tune(8) 🌸

the whole squad, fr fr. go read them too, they're all lowkey useful.


and that's the page, bestie!! πŸŽ€ this was nilfs-utils version 2.3, dated Jan 2026 β€” mwah, slay, bye πŸ’…πŸ’–

πŸ“¦ where this page comes from