+2006-11-08 Theodore Tso <tytso@mit.edu>
+
+ * badblocks.c (read_bad_blocks_file): Change the last_block
+ argument passed to the badblocks program to be consistent
+ with the change to badblocks.
+
2006-10-21 Theodore Tso <tytso@mit.edu>
* pass2.c (parse_int_node): Don't core dump if there is a corrupt
sprintf(buf, "badblocks -b %d -X %s%s%s %d", fs->blocksize,
(ctx->options & E2F_OPT_PREEN) ? "" : "-s ",
(ctx->options & E2F_OPT_WRITECHECK) ? "-n " : "",
- fs->device_name, fs->super->s_blocks_count);
+ fs->device_name, fs->super->s_blocks_count-1);
f = popen(buf, "r");
if (!f) {
com_err("read_bad_blocks_file", errno,
+2006-11-08 Theodore Tso <tytso@mit.edu>
+
+ * mke2fs.c (test_disk): Change the last_block argument passed to
+ the badblocks program to be consistent with the change to
+ badblocks.
+
2006-10-18 Theodore Tso <tytso@mit.edu>
* mke2fs.c: Fix revision 0 error checking so that it doesn't give
sprintf(buf, "badblocks -b %d -X %s%s%s %u", fs->blocksize,
quiet ? "" : "-s ", (cflag > 1) ? "-w " : "",
- fs->device_name, fs->super->s_blocks_count);
+ fs->device_name, fs->super->s_blocks_count-1);
if (verbose)
printf(_("Running command: %s\n"), buf);
f = popen(buf, "r");