diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-05-18 00:10:06 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-05-18 00:10:06 +0000 |
commit | 1e8f3a0da51e1c05792a1bab4a9218fd17da6e09 (patch) | |
tree | ae99581443ad84e727b1f59978e8cc92c54ba498 /sys/miscfs | |
parent | c8fdb4e9f8a004934c3bba2ae707f47541a81e80 (diff) |
Test the state of a disk *after* spinning it up and not before. This
prevents the issuing of sizing inquiries to non-existant or non-responsive
devices like empty slots on a USB card reader.
Also try to avoid *extremely* unlikely loop of scsi_start() commands, by
not using sd_interpret_sense() until after the disk is spinning.
ok dlg@
Diffstat (limited to 'sys/miscfs')
0 files changed, 0 insertions, 0 deletions