mounting one usb interface (from 2 identified)

Geoffrey Leach geoff at hughes.net
Fri Nov 23 04:28:24 UTC 2012


On 11/22/2012 08:21:20 PM, Ranjan Maitra wrote:
> On Thu, 22 Nov 2012 19:39:20 -0800 Geoffrey Leach <geoff at hughes.net>
> wrote:
> 
> > On 11/22/2012 06:41:21 PM, Ranjan Maitra wrote:
> > 
> > > > On 11/22/2012 02:38 PM, Ranjan Maitra wrote:
> > > > > On Thu, 22 Nov 2012 15:57:46 -0600 Ranjan Maitra
> > > > > <maitra.mbox.ignored at inbox.com> wrote:
> > > > >
> > > > >> Hi,
> > > > >>
> > > > >> Following up on my previous e-mail, I wanted to mention that
> two
> > > usb
> > > > >> interfaces are being recognized. Here is the relevant output
> of
> > > > >>
> > > > >> % usb-devices
> > > > >>
> > > > >> T:  Bus=01 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 15 Spd=480
> MxCh= 
> > > 0
> > > > >> D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> > > > >> P:  Vendor=0bb4 ProdID=0c02 Rev=02.22
> > > > >> S:  Manufacturer=ARNOVA 10
> > > > >> S:  Product=ARNOVA 10
> > > > >> S:  SerialNumber=11223344
> > > > >> C:  #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=256mA
> > > > >> I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50
> > > > >> Driver=usb-storage
> > > > >> I:  If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42
> > > > >> Prot=01 Driver=(none)
> > > > >>
> > > > >> I want to mount this as a USB storage device, so that i can
> > > access the
> > > > >> filesystem.
> > > > >>
> > > > >> Question: How do I mount the first interface?
> > > > > Sorry to add to my e-mail, the output of lsusb -v is as
> follows:
> > > > >
> > [snip]
> > 
> > Here's an alternate method.
> > 
> > Your disks should each have a unique UUID identifier, that can be
> used 
> > to create a fstab entry.
> > 
> > For example, when I plug in my USB MP3 player, /dev/disk/by-uuid
> gets a 
> > symlink 1839-015E, symbolic link to `../../sdb'. Not much use.
> However, 
> > I have an entry in /etc/fstab: UUID=1839-015E  /Media/Sansa2  ..., 
> > which allows me to access its contents by mounting /Media/Sansa2.
> > 
> 
> Thanks! Does this happen only upon mounting. Because I don't have 
> such
> an entry corresponding to /dev/sdb or /dev/sdc
> 
> $ ll /dev/disk/by-uuid 
> total 0
> lrwxrwxrwx. 1 root root 10 Nov 22 12:06
> 359f5eea-47cb-42c4-b96e-974b6f07ad19 -> ../../sda3 
> 
> lrwxrwxrwx. 1 root root 10 Nov 22 12:06
> d0b7bacc-879a-4b34-9ddd-76f438a28c5d -> ../../sda6
> 
> lrwxrwxrwx. 1 root root 10 Nov 22 12:06
> e082b796-2fc7-449b-95d8-a39ef6a29891 -> ../../sda2 
> 
> lrwxrwxrwx. 1 root
> root 10 Nov 22 12:06 EEE4584BE4581863 -> ../../sda1 
> 
> lrwxrwxrwx. 1 root
> root 10 Nov 22 12:06 f2ed8f21-da63-4def-a674-afdc90e448c5 ->
> ../../sda5
> 
> (I am on F17.)

This is before mounting. Looks like your UUID is 359f5eea-47cb-42c4-
b96e-974b6f07ad19. I'll bet that if you look in /etc/fstab, you'll find 
that there's an entry UUID=d0b7bacc-879a-4b34-9ddd-76f438a28c5d ... 
make a directory for your new disk and then make an entry for your new 
UUID that mimics the existing one, with appropriate changes. Then mount 
that directory.


More information about the users mailing list