mkcp(8)

mkcp8

Make a nilfs2 checkpoint

Usage

mkcp [options] [{device | node}]

Overview

mkcp is a utility for making a checkpoint or snapshot for the NILFS2 file system found in device. device may be a block device or a filesystem node (file or directory) on the filesystem. When device is omitted, it tries to find a NILFS2 file system from /proc/mounts.

This command is valid only for mounted NILFS2 file systems, and will fail if the device has no active mounts.

Options

-s, --snapshot

Create a snapshot.

-p, --print

Print the checkpoint number when successfully created.

-h, --help

Display help message and exit.

-V, --version

Display version and exit.

Releases

10 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0–6.0
  2. 7
  3. 8–10
  4. 11–13
  5. Arch

--help since Debian 7 (Wheezy); --print since Debian 8 (Jessie); --snapshot since Debian 7 (Wheezy); --version since Debian 7 (Wheezy); -V since Debian 7 (Wheezy); -p since Debian 8 (Jessie).

Author

Koji Sato

Availability

mkcp is part of the nilfs-utils package and is available from https://nilfs.sourceforge.io.

From nilfs-utils 2.3.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.