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

partclone.chkimg - The utility to check image made by partclone

Author

Yu-ChinTsai <thomas@clonezilla.org>

Bugs

       Report bugs to thomas@clonezilla.org or http://partclone.org.

       You can get support at http://partclone.org

Description

partclone.chkimg is a part of Partclone project to verify image files. Partclone provide utilities to
       backup used blocks and design for higher compatibility of the file system by using existing library, e.g.
       e2fslibs is used to read the used block of ext2 partition.

       Partclone supported file system include btrfs, ext2, ext3, ext4, reiserfs, reiser4, xfs and jfs for
       LINUX. Also support some non-linux operation system, ex: NTFS, FAT, EXFAT (for Windows), HFS plus (APPLE
       MAC OS), UFS2 (FreeBSD), VMFS (VMWare Vsphere). All partclone utils could be run like partclone.xxx is
       very smiliar fsck or mkfs. For example, for backup/restore hfsplus, just run partclone.hfsp.

Diagnostics

       The following diagnostics may be issued on stderr:

       partclone.chkimg provides some return codes, that can be used in scripts:
       CodeDiagnostic0      Program exited successfully.
       1      Clone or Restore seem failed.

Examples

            check part.img file is correct or not.
              partclone.chkimg -d -s partclone.img

Files

       /var/log/partclone.log
           The log file of partclone.chkimg

Name

       partclone.chkimg - The utility to check image made by partclone

Options

       The program follows the usual GNU command line syntax, with long options starting with two dashes (`-').
       A summary of options is included below.

       -sFILE, --sourceFILE
           Source FILE. The FILE could be a image file (made by partclone) or device depend on your action.
           Normally, backup source is device, restore source is image file.

           Receving data from pipe line is supported ONLY for restoring, just ignore -s option or use '-' means
           receive data from stdin.

       -LFILE, --logfileFILE
           put special path to record partclone log information. (default /var/log/partclone.log)

       -C, --no_check
           Don't check device size and free space.

       -N, --ncurses
           Using Ncurses Text User Interface.

       -X, --dialog
           Output message as Dialog Format.

       --ignore_crc
           Ignore crc check error.

       -F, --force
           Force progress.

       -fsec, --UI-freshsec
           put special second to different interval.

       -dlevel, --debuglevel
           Set the debug level [1|2|3]

       -h, --help
           Show summary of options.

       -v, --version
           Show version of program.

See Also

partclone(8), partclone.chkimg(8), partclone.restore(8), partclone.dd(8), partclone.info(8)

Synopsis

partclone.chkimg {[-s | --source] source}
                        [[-dX | --debug=X] [-N | --ncurses] [-f | --UI-fresh] [-F | --force] [--ignore_crc] [-C | --no_check] [-B | --no_block_detail] [-z | --buffer_size] [-L | --logfile] logfile]

See Also