[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse
Subject:    Re: [opensuse] How to mount USB mass storage device
From:       Dave Feustel <dfeustel () mindspring ! com>
Date:       2009-03-13 0:24:10
Message-ID: 20090313002410.2C89D457B0 () mx1 ! suse ! de
[Download RAW message or body]

On Fri, Mar 13, 2009 at 12:42:24AM +0100, Carlos E. R. wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Dave Feustel wrote:
> 
> > I'm running S11 
> 
> Is that SLES 11? It has not been released yet. And there is no
> openSUSE 11. Please clarify.

I'm running the Novell release of 64-bit Suse 11 updated through this
morning..
 
> > without kde or gnome. When I insert a dos-formatted
> > flash drive in my 14-in-one reader, there is no indication that the
> > device is now accessible or what the device name is that I would use in
> > a mount command.
> > 
> > I examined dmesg but found nothing that seemed helpful.
> > 
> > How do I determine the name of the newly plugged-in usb device?
> 
> Well, if there is no desktop, they are not automounted. However, if
> they have a label, you can use this command to find out:
> 
> ls -l /dev/disk/by-label/ | grep -i sd
> 
> 
> If you look at /var/log/messages, you can see something like this when
> you connect a USB disk:
> 
> Mar  8 18:07:07 nimrodel kernel: usb 1-4: new high speed USB device using ehci_hcd and address 11
>  kernel: usb 1-4: configuration #1 chosen from 1 choice
>  kernel: scsi9 : SCSI emulation for USB Mass Storage devices
>  kernel: usb 1-4: New USB device found, idVendor=13fd, idProduct=1240
>  kernel: usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
>  kernel: usb 1-4: Product: External
>  kernel: usb 1-4: Manufacturer: Generic
>  kernel: usb 1-4: SerialNumber: 53**********
>  kernel: usb-storage: device found at 11
>  kernel: usb-storage: waiting for device to settle before scanning
>  kernel: scsi 9:0:0:0: Direct-Access     Generic  External         2.02 PQ: 0 ANSI: 4
>  kernel: sd 9:0:0:0: [sdb] 625142448 512-byte hardware sectors (320073 MB)
>  kernel: sd 9:0:0:0: [sdb] Write Protect is off
>  kernel: sd 9:0:0:0: [sdb] Mode Sense: 21 00 00 00
>  kernel: sd 9:0:0:0: [sdb] Assuming drive cache: write through
>  kernel: sd 9:0:0:0: [sdb] 625142448 512-byte hardware sectors (320073 MB)
>  kernel: sd 9:0:0:0: [sdb] Write Protect is off
>  kernel: sd 9:0:0:0: [sdb] Mode Sense: 21 00 00 00
>  kernel: sd 9:0:0:0: [sdb] Assuming drive cache: write through
>  kernel:  sdb: sdb1
>  kernel: sd 9:0:0:0: [sdb] Attached SCSI disk
>  kernel: sd 9:0:0:0: Attached scsi generic sg1 type 0
>  kernel: usb-storage: device scan complete
> 

I got most of the above by dmesg.

 
> You can search for "usb-storage:" and then look around.
> 
> 
> 
> Maybe someone with knowledge of how hal and udev works, could write a script or daemon that reports
> somewhere when a new device has been plugged in and what partitions it has.

That would be handy.

My problem turns out to be that the flash drive reports a read error
during insertion and is not mounted. Fedora 9 mounts the flash with no
problem. I used a different flash with Suse and everything worked ok.
-- 
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse+help@opensuse.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic