logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rmcp - remove NILFS2 checkpoints

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.

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 endstart..
              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.

Name

       rmcp - remove NILFS2 checkpoints

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.

See Also

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

nilfs-utils version 2.2                             Apr 2014                                             RMCP(8)

Synopsis

rmcp [options] [device] checkpoint-range ...

See Also