On Sun, 5 Mar 2006, Pete Zaitcev wrote: > On Sun, 05 Mar 2006 21:36:51 -0800, Phil Dibowitz <[EMAIL PROTECTED]> wrote: > > > The following adds an unusual_devs entry for the SanDisk ImageMate > > CompactFlash USB. > > > +UNUSUAL_DEV( 0x0781, 0x0002, 0x0009, 0x0009, > > + "SanDisk Corporation", > > + "ImageMate CompactFlash USB", > > + US_SC_DEVICE, US_PR_DEVICE, NULL, > > + US_FL_FIX_CAPACITY ), > > This is total garbage, Phil. Who sent you this? Roman? > Look, same card (plugged into SDDR-31 and a CF-2-PCMCIA adapter):
What makes you think it's garbage? > [EMAIL PROTECTED] ~]$ cat /proc/partitions > major minor #blocks name > > 3 0 39070080 hda > 3 1 5935986 hda1 > 3 2 5936017 hda2 > 3 3 554242 hda3 > 3 4 1 hda4 > 3 5 26643771 hda5 > 180 0 7840 uba > 180 1 7792 uba1 > [EMAIL PROTECTED] ~]$ > > [EMAIL PROTECTED] ~]$ ssh niphredil cat /proc/partitions > major minor #blocks name > > 3 0 8830080 hda > 3 1 8723263 hda1 > 3 4 104422 hda4 > 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. Alan Stern ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel