+2005-05-05 Theodore Ts'o <tytso@mit.edu>
+
+ * badblocks.c (check_bb_inode_blocks): Clean up warning printf.
+ Thanks to Benno Schulenberg for the patch. (Addresses
+ Sourceforge Bug: #1189803)
+
2005-04-16 Theodore Ts'o <tytso@mit.edu>
* e2fsck.8.in: Fix spelling mistakes in man pages. (Addresses
*/
if (*block_nr >= fs->super->s_blocks_count ||
*block_nr < fs->super->s_first_data_block) {
- printf(_("Warning illegal block %u found in bad block inode. Cleared.\n"), *block_nr);
+ printf(_("Warning: illegal block %u found in bad block inode. "
+ "Cleared.\n"), *block_nr);
*block_nr = 0;
return BLOCK_CHANGED;
}
2005-05-05 Theodore Ts'o <tytso@mit.edu>
+ * badblocks.c (main), mke2fs.c (PRS): Fix error messages by
+ substituting "bad" with "invalid" to avoid confusion with
+ "bad blocks". Thanks to Benno Schulenberg for the patch.
+ (Addresses Sourceforge Bug: #1189803)
+
+ * mke2fs.c (test_disk): Fix grammatical error in error message.
+ Thanks to Benno Schulenberg.
+
+ * mke2fs.c (parse_extended_opts): Print the invalid stride
+ parameter in the error message. Thanks to Benno
+ Schulenberg.
+
+ * fsck.8.in: Fix a few spelling/grammatical errors. Thanks to
+ Benno Schulenberg.
+
* filefrag.c (frag_report): Fix so that when the first block to be
found is an indirect block, we don't falsely count an
extra discontinuity. (Addresses Debian Bug: #307607)
} else {
last_block = strtoul (argv[optind], &tmp, 0);
if (*tmp) {
- com_err (program_name, 0, _("bad blocks count - %s"),
+ com_err (program_name, 0, _("invalid blocks count - %s"),
argv[optind]);
exit (1);
}
if (optind <= argc-1) {
from_count = strtoul (argv[optind], &tmp, 0);
if (*tmp) {
- com_err (program_name, 0, _("bad starting block - %s"),
+ com_err (program_name, 0, _("invalid starting block - %s"),
argv[optind]);
exit (1);
}
} else from_count = 0;
if (from_count >= last_block) {
- com_err (program_name, 0, _("bad blocks range: %lu-%lu"),
+ com_err (program_name, 0, _("invalid blocks range: %lu-%lu"),
(unsigned long) from_count, (unsigned long) last_block);
exit (1);
}
UUID=8868abf6-88c5-4a83-98b8-bfc24057f7bd or LABEL=root).
Normally, the
.B fsck
-program will try to run filesystems on different physical disk drives
-in parallel to reduce total amount time to check all of the filesystems.
+program will try to handle filesystems on different physical disk drives
+in parallel to reduce the total amount of time needed to check all of the
+filesystems.
.PP
If no filesystems are specified on the command line, and the
.B \-A
.B fsck
will default to checking filesystems in
.B /etc/fstab
-serial. This is equivalent to the
+serially. This is equivalent to the
.B \-As
options.
.PP
.I fslist
will be checked.
.sp
-Options specifiers may be included in the comma separated
+Options specifiers may be included in the comma-separated
.IR fslist .
They must have the format
.BI opts= fs-option\fR.
files is to set the root filesystem to have a
.I fs_passno
value of 1
-and to set all filesystems to have a
+and to set all other filesystems to have a
.I fs_passno
value of 2. This will allow
.B fsck
filesystem checkers so that only one of them will display
a progress bar at a time. GUI front-ends may specify a file descriptor
.IR fd ,
-in which case the progress bar information will be sent that file descriptor.
+in which case the progress bar information will be sent to that file descriptor.
.TP
.B \-N
Don't execute, just show what would be done.
This environment variable allows the system administrator
to override the standard location of the
.B /etc/fstab
-file. It is also use for developers who are testing
+file. It is also useful for developers who are testing
.BR fsck .
.SH SEE ALSO
.BR fstab (5),
f = popen(buf, "r");
if (!f) {
com_err("popen", errno,
- _("while trying run '%s'"), buf);
+ _("while trying to run '%s'"), buf);
exit(1);
}
retval = ext2fs_read_bb_FILE(fs, f, bb_list, invalid_block);
fs_stride = strtoul(arg, &p, 0);
if (*p || (fs_stride == 0)) {
fprintf(stderr,
- _("Invalid stride parameter.\n"));
+ _("Invalid stride parameter: %s\n"),
+ arg);
r_usage++;
continue;
}
}
if (resize <= param->s_blocks_count) {
fprintf(stderr,
- _("The resize maximum must be greater than the filesystem size.\n"));
+ _("The resize maximum must be greater "
+ "than the filesystem size.\n"));
r_usage++;
continue;
}
if (b < EXT2_MIN_BLOCK_SIZE ||
b > EXT2_MAX_BLOCK_SIZE || *tmp) {
com_err(program_name, 0,
- _("bad block size - %s"), optarg);
+ _("invalid block size - %s"), optarg);
exit(1);
}
if (blocksize > 4096)
param.s_blocks_count = parse_num_blocks(argv[optind++],
param.s_log_block_size);
if (!param.s_blocks_count) {
- com_err(program_name, 0, _("bad blocks count - %s"),
+ com_err(program_name, 0, _("invalid blocks count - %s"),
argv[optind - 1]);
exit(1);
}