rmcp (8) - Linux Man Pages

rmcp: remove NILFS2 checkpoints

NAME

rmcp - remove NILFS2 checkpoints

SYNOPSIS

rmcp [options] [device] 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. 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
Ignore snapshots or nonexistent checkpoints.
-i
Prompt before any removal.
-h
Display help message and exit.

AUTHOR

Koji Sato <koji [at] osrg.net>, Ryusuke Konishi <ryusuke [at] osrg.net>.

AVAILABILITY

rmcp is part of the nilfs-utils package and is available from http://www.nilfs.org.

SEE ALSO

nilfs(8), lscp(1), mkcp(8), chcp(8).