Date: Mon, 22 May 2000 10:21:51 -0700 (PDT) From: Joerg Wunsch <joerg@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/cam/scsi scsi_cd.c Message-ID: <200005221721.KAA68773@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
joerg 2000/05/22 10:21:51 PDT
Modified files:
sys/cam/scsi scsi_cd.c
Log:
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
Revision Changes Path
1.37 +11 -1 src/sys/cam/scsi/scsi_cd.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005221721.KAA68773>
