diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-06-18 00:52:16 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-06-18 00:52:16 +0000 |
commit | f52055f7f9dac03056f411e5c629caa0b9491c0b (patch) | |
tree | fc9cc86338033ad16f27d54aa0e690b5dbc3fe0e /sys/ufs | |
parent | 65dc2cad263f6f62829592bda70347394ddad347 (diff) |
Switch to trying 6 byte MODE SENSE commands (for non ATAPI devices at
least) before 10 byte MODE SENSE. Some older devices can't/won't
distinguish between the two and return 6 byte MODE SENSE data for 10
byte requests.
Check that at least a full header was returned.
Tested by miod@ hshoexer@ and Ed Wandasiewisz on troublesome devices.
Diffstat (limited to 'sys/ufs')
0 files changed, 0 insertions, 0 deletions