commit | f63978aff759325b542de7134ab659c79dc47496 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sat May 13 09:25:47 2006 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sat May 13 09:25:47 2006 -0400 |
tree | 668dba851e3ca8def02595b2f9ff3b81ce3e21c7 | |
parent | 7eef87483168f284561414a56b5378a3102639bb [diff] |
Fix read/write badblocks testing in mke2fs and e2fsck The exlcusive device safety check that was added inadvertently broke e2fsck -cc and mke2fs -cc since e2fsck and mke2fs hold the device in exclusive access when badblocks is run. So we add a private option to badblocks, -X, which is passed by e2fsck and mke2fs to badblocks to indicate that it is OK to skip the EXT2_MF_BUSY checks. Addresses Debian Bug: #366017 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>