8 GB Flash drive formatted at 3.7 GB

Chris Smart mail at christophersmart.com
Mon Dec 21 03:19:37 UTC 2009


2009/12/21 Marcel Rieux <m.z.rieux at gmail.com>:

> You're right, my hasty extrapolations were wrong. But I don't believe
> you can get a Flash drive working that will be listed only as /dev/sdb
> any more than you can have a HD working with only /dev/sda. I have no
> idea about arrays, I'm talking about standard desktops with one drive.

You can.

chris at localhost ~ $ sudo mkfs.ext2 -L usbstick /dev/sdc
mke2fs 1.41.9 (22-Aug-2009)
/dev/sdc is entire device, not just one partition!
Proceed anyway? (y,n) y
[formats away]

chris at localhost ~ $ ls -l /dev/sdc*
brw-rw----. 1 root disk 8, 32 2009-12-21 14:18 /dev/sdc

chris at localhost ~ $ df -h |grep usb
/dev/sdc              3.8G  7.7M  3.6G   1% /media/usbstick

-c




More information about the fedora-list mailing list