On Tue, Dec 04, 2012 at 06:06:55AM -0500, Miroslav Rezanina wrote:
> +for (;;) {
> +c = getopt(argc, argv, "pf:F:sq");
> +if (c == -1) {
> +break;
> +}
> +switch (c) {
> +case 'f':
> +fmt1 = optarg;
> +break;
> +
This is second version of patch adding compare subcommand that compares two
images. Compare has following criteria:
- only data part is compared
- unallocated sectors are not read
- in case of different image size, exceeding part of bigger disk has to be
zeroed/unallocated to compare rest
-