summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>2000-05-22 17:21:50 +0000
committerjoerg <joerg@FreeBSD.org>2000-05-22 17:21:50 +0000
commite2d6681912c8ed0bd7bab4d020fc4e7e4b2cdffc (patch)
tree81786a9ee2df1041da619ff38c61ce6780494f7e /sys/kern
parenta9b64c96d9ae4ee08b83d18df111e57d62a78f6f (diff)
downloadFreeBSD-src-e2d6681912c8ed0bd7bab4d020fc4e7e4b2cdffc.zip
FreeBSD-src-e2d6681912c8ed0bd7bab4d020fc4e7e4b2cdffc.tar.gz
Apply a `fixup' to the blocksize gathered from the device after a READ
CAPACITY operation. SCSI-3 mandates this to be 2048, but some older drives like my old Plasmon CD-R report weird numbers between 2048 and up to 2352 bytes depending on the mode of the last track etc. This in turn confuses stuff like the slice code since it refuses to work with devices that do not have a blocksize which is a multiple of 512 bytes. Reviewed by: ken
Diffstat (limited to 'sys/kern')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud