Pete Zaitcev wrote: > On Mon, 6 Mar 2006 10:36:49 -0500 (EST), Alan Stern <[EMAIL PROTECTED]> wrote: > > >>> 33 0 7840 hde >>> 33 1 7792 hde1 >> >>Those "#blocks" values are in 1-KB blocks. The FIX_CAPACITY flag >>decreases the number of 512-byte sectors. So you'd expect to see the same >>#blocks value regardless of whether the capacity was too high by a sector. > > > Yes, indeed, I was wrong. The device passes the ATA size inside > a SCSI packet, how typical. On a card with 15680 sectors, this happens: > > dc505164 2578550680 S Bo:009:02 -115 31 = 55534243 31010000 08000000 80000a25 > 00000000 00000000 00000000 000000 dc505164 2578550870 C Bo:009:02 0 31 > > dc505164 2578550889 S Bi:009:02 -115 8 < > dc505164 2578551119 C Bi:009:02 0 8 = 00003d40 00000200 > dc505164 2578551135 S Bi:009:02 -115 13 < > dc505164 2578551244 C Bi:009:02 0 13 = 55534253 31010000 00000000 00 > > I used this reader for so long without the capacity fix that I was > skeptical at first.
Excellent. So, now that that's all settled, Greg - please do apply the patch. Thanks. -- Phil Dibowitz [EMAIL PROTECTED] Freeware and Technical Pages Insanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ "Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind." - Dr. Suess
signature.asc
Description: OpenPGP digital signature