rmcp8
Remove nilfs2 checkpoints
Usage
rmcp [options]
[{device | node}]
checkpoint-range ...
Overview
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:
|
single checkpoint number |
|---|---|
|
every checkpoint number between |
|
every checkpoint number equal or younger than |
|
every checkpoint number equal or greater than |
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.
Releases
10 releases since Debian 5.0 (Lenny); the text changed 5 times.
--force since Debian 7 (Wheezy);
--help since Debian 7 (Wheezy);
--interactive since Debian 7 (Wheezy);
--version since Debian 7 (Wheezy);
-V since Debian 7 (Wheezy).