History log of /external/e2fsprogs/misc/badblocks.8.in
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e0ed7404719a9ddd2ba427a80db5365c8bad18c0 20-Mar-2014 JP Abgrall <jpa@google.com> Switch back to 1.42.9 now that there is a fix

Revert "Revert changes that moved from 1.41.14 to 1.42.9"

This reverts commit 65f0aab98b20b5994a726ab90d355248bcddfffd.
/external/e2fsprogs/misc/badblocks.8.in
65f0aab98b20b5994a726ab90d355248bcddfffd 06-Mar-2014 JP Abgrall <jpa@google.com> Revert changes that moved from 1.41.14 to 1.42.9

Revert "e2fsck: Don't use e2fsck_global_ctx unless HAVE_SIGNAL_H"
commit e80e74c41d85ff93f3d212ba6512340f48054a93.

Revert "Merge remote-tracking branch 'linaro/linaro-1.42.9' into aosp_master"
This reverts commit e97b2b6fc82f840e84dfc631b87f21be44ff2421, reversing
changes made to 7e2fb9d09c245eba70ee008b78007315e9c0f1df.

Revert "Prepare for upstream 1.42.9"
This reverts commit 7e2fb9d09c245eba70ee008b78007315e9c0f1df.

Bug: 13340735
Change-Id: If48b153a95ef5f69f7cdccb00e23524abff3c5a8
Signed-off-by: JP Abgrall <jpa@google.com>
/external/e2fsprogs/misc/badblocks.8.in
7fef2bb11f0da01131f3a6646f479a97860ee5c0 16-Sep-2011 Theodore Ts'o <tytso@mit.edu> badblocks: update man page's description of the -v option

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/badblocks.8.in
e53e8fb00970fc74163b822e65d4e1156adac770 17-Feb-2011 Theodore Ts'o <tytso@mit.edu> badblocks: Add the -B option which forces the use of buffered I/O

If for some reason direct I/O does not work correctly, force the use
of buffered I/O.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/badblocks.8.in
4001b8a8fff7746aada6f399eaa7962fd1a53ded 29-Jun-2009 Theodore Ts'o <tytso@mit.edu> badblocks.8: Alphabetize options in badblocks man page

... to make it easier to find a specific option in the man page.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/badblocks.8.in
e3dee8c91f49ad1e0ed18185dee9f7a08628e3ce 29-Jun-2009 Theodore Ts'o <tytso@mit.edu> badblocks.8: Update description of the -s option in badblocks man page

Addresses-Debian-Bug: #523063

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/badblocks.8.in
f56f32b0a505e34712c8b8fb908dffb616743726 10-Jul-2008 Theodore Ts'o <tytso@mit.edu> badblocks: Use standard terminology for first/last block

Use consistent and standard terminology for the starting and ending
blocks for the badblocks test in the man page and in the messages
printed by the program.

Addresses-Debian-Bug: #440983, #440981

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/badblocks.8.in
264f64a5a8bb7225ab8513de6f1c6ac9e7448790 12-Jun-2008 Iustin Pop <iustin@google.com> badblocks: implement read throttling

Currently, badblocks will read as fast as it can from the drive. While
this is what one wants usually, if badblocks is run in read-only mode on
a drive that is in use, it will greatly degrade the other users of this
disk.

This patch adds a throttling mode for reads where each read will be
delayed by a percentage of the time the previous read took; i.e., an
invocation of '-d 100' will cause the sleep to be the same as the read
took, a value of 200 will cause the sleep to be twice as high, and a
value of 50 will cause it to be half. This will not be done if the
previous read had errors, since then the hardware will possibly have
timeouts and that would decrease the speed too much.

This algorithm helps when the disk is used by other processes as then,
due to the increased load, the time spent doing the reads will be
higher, and correspondingly badblocks will sleep even more and thus it
will use less of the drive's bandwidth. This is different from using
ionice, as it is a voluntary (and partial) throttling.

Signed-off-by: Iustin Pop <iustin@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/misc/badblocks.8.in
931b0289eee5d83bff7e80c7420bda0a5bb078da 11-Jun-2008 Iustin Pop <iustin@google.com> badblocks: add a max bad blocks count option

Currently, badblocks will continue scanning the device until it reaches
last_block, even though it might be that the drive is not responding
at all anymore.

This patch introduces a new parameter ('-e') that allows one to specify
the maximum bad block count; if badblocks sees more than this number, it
will abort the test.

While this is not useful for testing a device that will need to be used
as a filesystem (because we don't get an exhaustive list of bad blocks),
it is useful for testing if a device has bad blocks at all: for example,
with a count of 1, it will finish after the first error thus not needing
to test the whole device if the only purpose of the test is to check for
any bad blocks.

Signed-off-by: Iustin Pop <iustin@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/misc/badblocks.8.in
52a079315b891fbbec4a2236c0c7dd94f725d407 03-Apr-2007 Theodore Ts'o <tytso@mit.edu> Document the -X flag in the badblocks man page

Addresses Debian Bug: #379695

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/badblocks.8.in
d3cb5e52efff83f43e03ceb6b669a32f8115de80 27-Mar-2006 Theodore Ts'o <tytso@mit.edu> Fix typo's in badblocks(8)'s man page.

Addresses Debian Bug: #357951

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/badblocks.8.in
8139367bbde5f56a3febbdaa9205796a88310847 16-Apr-2005 Theodore Ts'o <tytso@mit.edu> Fix spelling mistakes in man pages. (Addresses Debian Bugs: #304591,
#304592, #304594, #304597, #304593)
/external/e2fsprogs/misc/badblocks.8.in
df95e09a5256529b7bb145a5a98c52aacdbfb65b 28-Sep-2004 Theodore Ts'o <tytso@mit.edu> Document the default blocksize used by badblocks(8).
(Addresses Debian Bug #273679)
/external/e2fsprogs/misc/badblocks.8.in
167af997e3a8fb36cb9fc8db9c40fb62a7f9464b 28-Feb-2004 Theodore Ts'o <tytso@mit.edu> badblocks.c (main): Change the default number of blocks tested
at once from 16 to 64. (Addresses Debian bug #232240)
/external/e2fsprogs/misc/badblocks.8.in
84c054577fcc08cee6683fb1c8905711c5b985f3 18-May-2003 Theodore Ts'o <tytso@mit.edu> badblocks.c: Use an unsigned integer to support 4-byte test
patterns with the high bit set. Let the user explicitly
specify a random pattern with the argument "random".
/external/e2fsprogs/misc/badblocks.8.in
849b6bc8ec0d4959913ea6f412ac5b6e9939e9ff 07-May-2003 Theodore Ts'o <tytso@mit.edu> badblocks.c, badblocks.8.in: Functional enhancements contributed
by Thayne Harbaugh. These patches allow the -t option to
control the test pattern(s) used when checking the disk.
Test patterns may be specified in all modes (r/w, r/o and
non-destructive).
/external/e2fsprogs/misc/badblocks.8.in
19445ef9702720ad6e4d6dc1ec876212c8a88a49 30-Jan-2003 Theodore Ts'o <tytso@mit.edu> Fixed up minor documentation issues (man page for badblocks and usage
message for e2fsck).
/external/e2fsprogs/misc/badblocks.8.in
a14113545168390de8974ee2683124b710977fb6 17-Aug-2002 Theodore Ts'o <tytso@mit.edu> fsck.c (main): If no filesystems are specified on the command
line, default to -As. (Addresses Debian Bug #153102)

badblocks.8.in: Clarify why it's bad to do a non-destructive
test on a r/o mounted filesystem. (Addresses Debian Bug
#131350)
/external/e2fsprogs/misc/badblocks.8.in
541d173d91b6d30f43d58ad01559fa8ad60871a8 24-Feb-2002 Theodore Ts'o <tytso@mit.edu> Update with the Debian package e2fsprogs-1.26-1.

Clarify and clean up the badblocks man page and the com_err info file.
/external/e2fsprogs/misc/badblocks.8.in
3ed57c27df0ba0942a19c71bc065c8eec3036567 24-Dec-2001 Theodore Ts'o <tytso@mit.edu> In mke2fs and e2fsck, specifying the -c option twice will now do
a read/write test on the disk. Update the man pages to encourage
using the -c option, and to discouraging running badblocks separately,
since users tend to forget to set the blocksize when running
badblocks.
/external/e2fsprogs/misc/badblocks.8.in
177a9acef49dce775284e6dc00e8c7010a8222e6 31-Aug-2001 Theodore Ts'o <tytso@mit.edu> badblocks.8.in: Fix spelling typo. (Addresses Debian bug #110621)
/external/e2fsprogs/misc/badblocks.8.in
12da49c9472d555234df732738b19bed520c8550 12-May-2001 Theodore Ts'o <tytso@mit.edu> Many files:
badblocks.8.in, dumpe2fs.8.in, e2label.8.in, mke2fs.8.in,
mklost+found.8.in, tune2fs.8.in: Fix typo; removed excess "anonymous"
in the AVAILABILITY section.
/external/e2fsprogs/misc/badblocks.8.in
cd130a0887b5e5e9436533bbcda4c17ec5202788 05-May-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, badblocks.8.in, badblocks.c:
badblocks.8.in: Fixed man page to describe the first optional
parameter to badblocks as last_block, instead of num_blocks. (Debian
nbug #87216)
badblocks.c: Change the blocks_count variable to be last_count, which
is a more accurate description of the variable.
/external/e2fsprogs/misc/badblocks.8.in
348e43dccbbc0511be3b151b319ff95830753dec 03-May-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, dumpe2fs.8.in, dumpe2fs.c:
dumpe2fs.c (main): Add new flag, -i, which will allow dumpe2fs to dump
out the filesystem statistics from an ext2 image file.
Many files:
e2image.8.in: New manual page
badblocks.8.in, e2label.8.in, mke2fs.8.in mklost+found.8.in,
tune2fs.8.in: Update location of e2fsprogs to be
http://e2fsprogs.sourceforge.net.
/external/e2fsprogs/misc/badblocks.8.in
a551b783479b47d05ec996da5c87009a092cf491 14-Jul-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, badblocks.8.in, badblocks.c:
badblocks.8.in: Added text explaining that the -n and -w options are
mutually exclusive.
badblocks.c (usage): Fix usage message to make it clear that the block
count must be specified if the starting block is to be specified.
(The starting block should be a option, in the long run.)
badblocks.c (test_nd): Save and restore the currently_testing variable
before going into the write verification loop. This avoids a loop
termination problem if the last block on the disk is bad. Also, turn
off the SIGALRM signal while restoring blocks after the user types ^C.
The num_saved variable is now static so that it won't get clobbered by
a longjmp. buf_used and bb_count are no longer static, since they
aren't used by the cleanup routines anymore.
badblocks.c (main): Removed an unsued varaible (buf_size). Fixed bad
getopt argument that didn't allow the 'b' option to take an argument.
Added error checking when parsing the starting block number. Fixed
lint warning in fscanf format string.
/external/e2fsprogs/misc/badblocks.8.in
981dc56ae312ef6f13ab5fca57ef51616890e13f 06-Jul-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, badblocks.8.in, badblocks.c:
badblocks.c (check_mount, main): Check to see if the filesystem is
mounted before doing a read/write or non-destructive test. This can
be overriden using the new -f option.
badblocks.8.in: Added documentation for the -f option.
/external/e2fsprogs/misc/badblocks.8.in
35964b5c4a85ab73c1ac02caed98584b6527f7c2 06-Jul-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, badblocks.8.in, badblocks.c:
badblocks.8.in: Update manual page to reflect that the blocks-count
parameter is now optional. Also properly document the start-block
parameter.
badblocks.c (main): Allow the blocks-count parameter to be optional.
If it's not specified, use the size of the device as a default.
/external/e2fsprogs/misc/badblocks.8.in
7dc435082e384d9b2d15ab53aebcde53b4aa01ab 12-Jun-2000 Theodore Ts'o <tytso@mit.edu> badblocks.8.in:
Update man page explanation for badblocks.
Update man page's explanation for the -c option.
/external/e2fsprogs/misc/badblocks.8.in
4d003982f95ea4151b964f5f986e8af76707bde0 03-Apr-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, badblocks.8.in, badblocks.c:
badblocks.8.in: Updated manual page with suggestions from David
Beattie.
badblocks.c (test_nd): Generalized cleanup and bug-fixes. We now
explicitly clear out the signal handlers to prevent a longjmp to a
deactivated stack frame.
(test_rw): Fixed a signed vs. unsigned comparison error.
/external/e2fsprogs/misc/badblocks.8.in
ffe4cab315464f16486504eeeadaa6c336c6ab3d 03-Apr-2000 Theodore Ts'o <tytso@mit.edu> Many files:
badblocks.8.in, chattr.1.in, dumpe2fs.8.in, lsattr.1.in,
mklost+found.8.in, tune2fs.8.in: Update Remy Card's e-mail address.
chattr.1.in: Update which attributes aren't supported.
/external/e2fsprogs/misc/badblocks.8.in
dd018f5aa41cc21d22f01c45a3eee6ce492eb228 07-Feb-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, badblocks.8.in, badblocks.c:
badblocks.c: Fix non-destructive read/write patches from David
Beattie. Non-standard variable-length automatic arrays removed.
Non-destrutive write test fixed so that logic is clearer and more
provably correct. (I believe the old code had a bug where the disk
data wasn't restored if it was interrupted at the wrong time.)
badblocks.8.in: Document new options in man page.
/external/e2fsprogs/misc/badblocks.8.in
caf8ce4cc497b22cca26e1063183e58391c1b3a0 21-Oct-1999 Theodore Ts'o <tytso@mit.edu> Many files:
badblocks.8.in, chattr.1.in, dumpe2fs.8.in, e2label.8.in,
fsck.8.in, lsattr.1.in, mke2fs.8.in, mklost+found.8.in,
tune2fs.8.in, uuidgen.1.in: Update man page to use a more standard
format (bold option flags and italicized variables), as suggested by
Andreas Dilger (adilger@enel.ucalgary.ca)
ChangeLog, e2fsck.8.in:
e2fsck.8.in: Update man page to use a more standard format (bold
option flags and italicized variables), as suggested by Andreas Dilger
(adilger@enel.ucalgary.ca)
ChangeLog, uuid_generate.3.in:
uuid_generate.8.in: Update man page to use a more standard format
(bold option flags and italicized variables), as suggested by Andreas
Dilger (adilger@enel.ucalgary.ca)
/external/e2fsprogs/misc/badblocks.8.in
a789d8406070224503c9ab78040acc7ea80c65ae 30-Mar-1998 Theodore Ts'o <tytso@mit.edu> Many files:
e2label.c: Fix -Wall warning by making functions static.
chattr.1.in: Document that the append-only attribute may only be set
or cleared by the superuser.
Update all manual pages to that the availability section is
up-to-date.
e2label.8.in, tune2fs.8.in: Update manual page to state that labels
must be no longer than 16 characters, or they will be truncated.
e2label.c (change_label), tune2fs.c (main): If the label is longer
than 16 characters, print a warning message stating that the label
will be truncated.
mke2fs.c (PRS): If the user specifies a filesystem size, and it's
larger than the apparent size of the device, print a warning message
and ask if the user wants to proceed.
/external/e2fsprogs/misc/badblocks.8.in
92bcc595dcb31ad15e12d8c72e6edfc70545c204 16-Feb-1998 Theodore Ts'o <tytso@mit.edu> ChangeLog, badblocks.8.in, mke2fs.c:
badblocks.8: Update documentation to note that output format of
badblocks is suitable for use with e2fsck -l or mke2fs -l.
mke2fs.c (handle_bad_blocks): Fix bug so that all groups with bad
superblock backup blocks are printed (not just the first one).
/external/e2fsprogs/misc/badblocks.8.in
ca8abba7e0970fd1702db53e3f89ceb68c70768c 19-Jan-1998 Theodore Ts'o <tytso@mit.edu> Many files:
resize2fs.h: If EXT2_FLAT_INCLUDES is defined, then assume all
of the ext2-specific header files are in a flat directory.
ext2_block_move.c, ext2_inode_move.c, extent.c, resize2fs.c,
resize2fs.h: Rename variables named "new" to "new_block",
"new_inode", or "new_loc" to avoid C++ reserved word
clash.
ext2_block_move.c, ext2_inode_move.c, extent.c, resize2fs.c,
sim_progress.c: Use ext2fs_get_memory(),
ext2fs_free_memory(), et. al., instead of malloc() and
free().
ext2_block_move.c, ext2_inode_move.c, extent.c: Explicitly cast
all assignments from void * to be compatible with C++.
banalysis.c, banalysis.h, ext2_inode_move.c, ext2_block_move.c:
Change private to priv_data to avoid C++ namespace clash.
ChangeLog, badblocks.8.in:
badblocks.8.in: Add documentation for the -s option.
/external/e2fsprogs/misc/badblocks.8.in
583ccdc32d9f2feaf1a157cc6aad1f39152b8680 09-May-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Fix minor typos and grammer oops found by Bill Hawes (whawes@star.net).
/external/e2fsprogs/misc/badblocks.8.in
19c78dc07fce2d6f39b5e541562afc3ca1ea38ff 29-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checked in e2fsprogs-1.07
/external/e2fsprogs/misc/badblocks.8.in
74becf3c0a065f8d64e07ce4d31f9fe53be91d62 26-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checkin of e2fsprogs 1.02.
/external/e2fsprogs/misc/badblocks.8.in