USB harddrives and device associations
From: Darryl Clarke (smartssa_at_gmail.com)
Date: 08/30/04
- Previous message: Kudret Güler: "Re: cdrecord issues since 2.6 move"
- Next in thread: John Summerfield: "Re: USB harddrives and device associations"
- Reply: John Summerfield: "Re: USB harddrives and device associations"
- Reply: matt zagrabelny: "Re: USB harddrives and device associations"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 30 Aug 2004 14:10:44 -0400 To: debian-user@lists.debian.org
Hi,
This may be a simple question, or complicated.
I have a lot of USB drives that I deal with and I'm getting quite
annoyed that whenever I switch drives the /dev/sdX association changes
too. I started on /dev/sda and now I'm currently on /dev/sdp and I
have to edit my fstab every time I switch drives around.
Even if I put it in the same port, the associated device changes.
So, here's my question. Is there a way to have the device associated
be the same based on which USB port I plug it into?
example: (one root hub '1' with 4 ports and a 4 port hub plugged into it)
port USB 1-1 -> /dev/sda
port USB 1-2 -> /dev/sdb
port USB 1-3 -> /dev/sdc
port USB 1-4 -> this is a 4 port hub
port USB 1-4.1 -> /dev/sdd
port USB 1-4.2 -> /dev/sde
port USB 1-4.3 -> /dev/sdf
port USB 1-4.4 -> /dev/sdg
etc.
That is basically how it would end up after the first boot. However,
if I unplug /dev/sda and plug in a different drive it will get
/dev/sdh and so on.
I dabbled in using LABEL based mounting, but unfortunately that only
works with extfs and a lot of these drives are FAT32 so I need to have
the dev stay consistant so I can not have to edit /etc/fstab every
time the associated device changes.
I'm open to any suggestions on alternate handling methods of what is
now only a few drives, but will be in the future hundreds. (only about
7 to 10 plugged in at once though ;))
Thanks.
-- Darryl smartssa@gmail.com http://smartssa.com / http://darrylclarke.com -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: Kudret Güler: "Re: cdrecord issues since 2.6 move"
- Next in thread: John Summerfield: "Re: USB harddrives and device associations"
- Reply: John Summerfield: "Re: USB harddrives and device associations"
- Reply: matt zagrabelny: "Re: USB harddrives and device associations"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: USB harddrives and device associations
... > have to edit my fstab every time I switch drives around. ... > Even
if I put it in the same port, the associated device changes. ... > be the same based
on which USB port I plug it into? ... that reference a possible solution by using the scsitools
package or the ... (Debian-User) - USB Devices... Not Installing
... Port USB 1.1 PCI Card ... After i install 2-3 USB Devices i cannot
install ... (microsoft.public.windowsxp.hardware) - Re: [OT] Wooo Hooo! (computer related)
... new USB card? ... I have ordered a 7 port USB 2.0 hub, because I want
to be able to use it for my digital cameras, photo printer, MP3 player, GPS, and the second external
HD (and each one has a *slightly* different cable connector, so I have them labeled). ...
You and my son - who has his computer on a shelf under his desk, sans cover - "open computing"
as he keeps the ancient tower ticking. ... (alt.sewing) - Suse 9.1 with usb hub
... After installing suse 9.1 I would like suse to recognize my external ... four
port usb 1 hub. ... My usb printer is not recognized when plugged ...
(alt.os.linux.suse) - Problème port USB
... J'ai un palm branché en port USB sur un PC ... que le palm ne se met
plus a jour (problème de connexion ... (microsoft.public.exchange.misc)