commit | 5493a27dc1138d2e30193b80217a0127d247af1e | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Wed Jan 02 14:15:35 2002 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Wed Jan 02 14:15:35 2002 -0500 |
tree | dd40d67e248f6555f2dd16833f49574eff8de85c | |
parent | d4de4aa938339275515b2b5b6fcf8ca2b51c3d34 [diff] |
badblocks.c (main): Open the device as O_RDWR if possible, since fsync() isn't guaranteed to work if the filesystem is opened read-only.