---
name: "chcp"
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/chcp"
---

# chcp(8)

change mode of NILFS2 checkpoints

## NAME

chcp - change mode of NILFS2 checkpoints

## SYNOPSIS

**chcp** \[*options*\] **cp** \| **ss** \[*device*\|*node*\] *checkpoint-number* ...

## DESCRIPTION

**chcp** is a utility to change the mode of the given checkpoints for the NILFS2 file system found in *device*. *device* may be a block device or a filesystem node (file or directory) on the filesystem. **chcp** changes checkpoints to snapshots, or vice versa.  The target checkpoints are specified with one or more checkpoint numbers.  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

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

  Display help message and exit.

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

  Display version and exit.

## AUTHOR

Koji Sato

## AVAILABILITY

**chcp** 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), [**rmcp**(8)](/rmcp/8.md), [**nilfs-tune**(8)](/nilfs-tune/8.md).
