media capacity and Fedora 19

John Reiser jreiser at bitwagon.com
Mon Jun 24 14:22:18 UTC 2013


On 06/24/2013, Jaroslav Reznik wrote:

> Do we have to be byte strict here? For physical medium sizes, we had to
> be, this 1 GB is more "we set it as we think it's a good idea". Or maybe
> 1 GB sticks (what's the real size one can use + overlay?) but it's not
> as strict, as you could pick up bigger one.

Device sizes vary according to manufacturer and model.  3% is not uncommon.

Here's one actual "1GB" USB2.0 flash memory device that I use
[from syslog, /var/log/messages]:
  usb 1-9: New USB device found, idVendor=154b, idProduct=0005
  sd 9:0:0:0: [sdc] 2015232 512-byte logical blocks: (1.03 GB/984 MiB)
That's 30MB (3%) more capacity than labeled.

Here's a "4GB" device:
  usb 1-9: New USB device found, idVendor=154b, idProduct=000f
  sd 13:0:0:0: [sdc] 8060928 512-byte logical blocks: (4.12 GB/3.84 GiB)
That's 127MB (3.2%) more capacity than labeled.

Here's a "8GB" device:
  usb 1-9: New USB device found, idVendor=13fe, idProduct=5100
  sd 11:0:0:0: [sdc] 15466496 512-byte logical blocks: (7.91 GB/7.37 GiB)
That's 81MB (1%) less capacity than labeled.

Here's a "16GB" device:
  usb 1-10: New USB device found, idVendor=13fe, idProduct=5200
  sd 10:0:0:0: [sdc] 30283008 512-byte logical blocks: (15.5 GB/14.4 GiB)
That's 495MB (3.1%) less capacity than labeled.  [Almost illegal.]

-- 



More information about the devel mailing list