---
name: "rmcp"
section: "8"
platform: "linux"
package: "nilfs-utils"
version: "2.3.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/rmcp"
---

# rmcp(8)

remove NILFS2 checkpoints

## NAME

rmcp - remove NILFS2 checkpoints

## SYNOPSIS

**rmcp** \[*options*\] \[*device*\|*node*\] *checkpoint-range* ...

## DESCRIPTION

**rmcp** is a utility for removing checkpoints from the NILFS2 file system found in *device*.  The checkpoints which user wants to remove are specified with one or more *checkpoint-ranges*. *device* may be a block device or a filesystem node (file or directory) on the filesystem. When *device* is omitted, rmcp tries to find a NILFS2 file system from */proc/mounts*.

The *checkpoint-range* must be provided with one or two integers in one of the following way:

- **cno**

  single checkpoint number

- **start..end**

  every checkpoint number between **start** and **end**

- **..end**

  every checkpoint number equal or younger than **end**

- **start..**

  every checkpoint number equal or greater than **start**

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

## OPTIONS

- **-f**, **--force**

  Ignore snapshots or nonexistent checkpoints.

- **-i**, **--interactive**

  Prompt before any removal.

- **-h**, **--help**

  Display help message and exit.

- **-V**, **--version**

  Display version and exit.

## AUTHOR

Koji Sato, Ryusuke Konishi \<konishi.ryusuke@gmail.com\>.

## AVAILABILITY

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

## SEE ALSO

[**nilfs**(8)](/nilfs/8.md), [**lscp**(1)](/lscp/1.md), [**mkcp**(8)](/mkcp/8.md), [**chcp**(8)](/chcp/8.md), [**nilfs-tune**(8)](/nilfs-tune/8.md).
