Re: USB Pen Drives and Linux

From: Jim Richardson (warlock_at_eskimo.com)
Date: 02/23/04


Date: Mon, 23 Feb 2004 14:11:01 -0800


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 23 Feb 2004 15:34:50 -0500,
 paul <pcsanwaldNOSPAM@pobox.com> wrote:
> On 23 Feb 2004 19:46:30 GMT, Dances With Crows
><danSPANceswitTRAPhcrows@usa.net> wrote:
>>
>>FAT doesn't, though there is a space in the FAT superblock for a volume
>>label. Most USB storage devices are shipped with FAT filesystems
>>because that's the lowest common denominator; every machine can read and
>>write FAT. Tools for reading and writing ext[23], JFS, XFS, and
>>ReiserFS are limited/unavailable on non-Linux systems. If the OP is
>>only going to be using his USB devices on Linux systems, using ext2 and
>>-L with mount may work. If not, he'll have to find another solution.
>>
>
> I think I'm going to have to find another solution, unfortunately. The
> pen drives I'll be using are pretty much random, and most of them (as
> you pointed out) will come with a FAT filesystem.
>
> all I'm really looking to do is mount a pen drive from /dev/sda1, then
> umount it and be able to mount a different pen drive from the same
> device label (/dev/sda1).
>
> I take it there is no quick and dirty way to do this?
>
> --paul

I am not sure I follow the problem. I have 3 USB mem devices, a
cardreader, a digicam that shows up as a usb storage device, and a
pendrive. If I plug them in one at a time, they are all registered as
/dev/sda, if I plug more than one in at a time, the second one, is
/dev/sdb, I haven't plugged in all three at once (only have 2 usb ports
here :)

Are you saying that the device number (sda, sdb) increments for each
time one of them is plugged in? that's odd. I'd say that something is
wonky with your usb config, unless I am misunderstanding something.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAOnp1d90bcYOAWPYRAqLgAJ4uTs+0peb3shbVeKMEpAw30LUk+wCdEFMI
ffHmvVw7sKPS/jhZr5Z72Oc=
=S/hA
-----END PGP SIGNATURE-----

-- 
Jim Richardson     http://www.eskimo.com/~warlock
" ... a language is just an dialect with an army and a navy."
                                -- Paul Tomblin, in a.s.r.


Relevant Pages

  • Re: Re[2]: Flash Drive Policy
    ... Windows Operating systems make a clear distinction between USB storage ... USB Storage devices may be disabled completely in the windows ... The 'Start' value disables/enables USB storage. ...
    (Security-Basics)
  • Re: Slow USB HDD on SuSe 10.0 (and usb flash stick)
    ... the USB drive is terribly slow compared to the on board drive. ... Before this problem is definitely fixed with a patch for SUSE 10.0 ... and add the possibility to mount ALL usb storage devices without the sync option. ... I have had the problem of writing speed to usb storage devices on different computers and on different devices. ...
    (alt.os.linux.suse)
  • Re: USB I/O performance
    ... This specifies the maximum size of a disk I/O operation for ... USB storage devices in units of 512 bytes, the default value being 240, ... This has been discussed in other groups, and the issue seems to be that a write to flash time is described as a constant value plus a size dependent value, and that by doing fewer and larger writes the penalty of the constant is less, since it is incurred less often. ...
    (Fedora)
  • WinCE 5 using USB RNDIS : LAN vs. W-LAN how to ?
    ... The rndis device used is U.S.Robotics USR5421 USB to wireless LAN stick. ... USB port correctly functions and recognizes both USB storage devices and USB printers. ... There is on-board Ethernet adapter already as well on-board wireless LAN adapter as well, for which 3rd party drivers are used. ... Upon insertion of USR5421 into device's USB port no visual effects are seen, but "power" led on the USR5421 comes on, antenna light stays off. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: crash
    ... connected to my Ubuntu notebook through the USB port. ... But mounting it or running fsck on it as ext3 doesn't ... behind a FAT translation service. ... filesystem, ...
    (alt.os.linux)