[Gllug] Memory Stick Problem

Philip Hands phil at hands.com
Wed Feb 9 15:40:56 UTC 2011


On Wed, 09 Feb 2011 14:09:06 +0000, Mick Farmer <mick at dcs.bbk.ac.uk> wrote:
> Dear GLLUGers,
> 
> I'm running Red Hat EL with kernel 2.6.9-89.35.1.
> 
> Until last year I used a memory stick, VFAT formatted, to
> move data between Linux and Windows.  The hotplug mechanism
> detected when I plugged the stick into my USB port and the
> drive could be seen as/media/usb.../.  I can't remember the
> full path name.
> 
> Since upgrading to the latest kernel this no longer works.
> Using dmesg and lsmod I get the impression that the system
> thinks it's a SCSI drive.
> 
> I don't want to reformat the stick as it has important data
> on it.  Can anyone suggest how I can revert to the VFAT
> behaviour?

You should notice that the /dev/sd* device(s) for the stick pop into
existence when you shove it in, so the last lettered devices are
probably your stick.  If you see:

 phil at poker:~$ ls /dev/sd*
 /dev/sda  /dev/sda1  /dev/sda2  /dev/sda5  /dev/sdb /dev/sdc /dev/sdc1

with the stick in, it's /dev/sdc.  If the /dev/sd?1 device is not there,
the VFAT partition is direct on the device, otherwise, it's got a
partition table and partition 1 is your VFAT.

You can confirm that by pulling the drive out, and seeing if the disappear.

If you run mount, you may find that the relevant device is already
mounted somewhere, if not, you should be able to mount it by hand with
something like:

  mount /dev/sdc1 /mnt

temproarily, but you'll probably find that RedHat have decided to use
UUIDs or some such, to ensure that the stick always get mounted in the
same place and are perhaps mounting it as /media/Label_Name

Cheers, Phil.
-- 
|)|  Philip Hands [+44 (0)20 8530 9560]    http://www.hands.com/
|-|  HANDS.COM Ltd.                    http://www.uk.debian.org/
|(|  10 Onslow Gardens, South Woodford, London  E18 1NE  ENGLAND
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: not available
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20110209/7c5d27b2/attachment.pgp>
-------------- next part --------------
--
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list