PARTCLONE.CHKIMG(8)

  .SH "NAME" partclone.chkimg - The utility to check image made by partclone
  .SH "SYNOPSIS"
    .HP u
      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]

  .SH "DESCRIPTION"

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

  .SH "OPTIONS"

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

      .PP -s FILE, --source FILE

              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.

          .RE
          .PP -L FILE, --logfile FILE

                  put special path to record partclone log information. (default /var/log/partclone.log)

              .RE
             .PP -C, --no_check

                      Don't check device size and free space.

                  .RE
                  .PP -N, --ncurses

                          Using Ncurses Text User Interface.

                      .RE
                       .PP -X, --dialog

                              Output message as Dialog Format.

                          .RE
                          .PP --ignore_crc

                                  Ignore crc check error.

                              .RE
                               .PP -F, --force

                                      Force progress.

                                  .RE
                                   .PP -f sec, --UI-fresh sec

                                          put special second to different interval.

                                      .RE
                                      .PP -dlevel, --debug level

                                              Set the debug level [1|2|3]

                                          .RE
                                          .PP -h, --help

                                                  Show summary of options.

                                              .RE
                                              .PP -v, --version

                                                      Show version of program.

                                                  .RE

                                              .SH "FILES"

                                                  .PP /var/log/partclone.log

                                                          The log file of partclone.chkimg

                                                      .RE

                                                  .SH "EXAMPLES"

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

                                                  .SH "DIAGNOSTICS"

                                                    .PP The following diagnostics may be issued on stderr:

                                                    .PP partclone.chkimg provides some return codes, that can be used in scripts:
                                                    .
                                                Code | Diagnostic
                                                T{
                                                0
                                                T} |
                                                T{
                                                Program exited successfully.
                                                T} |
                                                T{
                                                1
                                                T} |
                                                T{
                                                Clone or Restore seem failed.
                                                T} |
                                                .TE
                                                .SH "BUGS"
                                                .PP
                                                Report bugs to thomas@clonezilla.org or
                                                http://partclone.org.
                                                .PP
                                                You can get support at http://partclone.org
                                                .SH "SEE ALSO"
                                                .PP
                                                partclone(8),
                                                partclone.chkimg(8),
                                                partclone.restore(8),
                                                partclone.dd(8),
                                                partclone.info(8)

AUTHOR

Yu-Chin Tsai <thomas@clonezilla.org>

COPYRIGHT
Copyright © 2007 Yu-Chin Tsai
      .PP This manual page was written for the Debian system (and may be used by others).
      .PP Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation.
      .PP On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.