|
Help mount usb to same /dev no matter which order plugged in.
I hope I can explain this clearly. This is what I would like to be able to do.
Hardware:
Motherboard 2 port USB
PCI 5 port USB 2 Port Firewire
Devices I have: ( All mount and work fine )
USB 7 in1 Multicard Reader ( Mounted in Case and always Plugged in)
USB Lexar Trio JumpDrive for SD Cards
USB 20 gig Harddrive
USB DVDRW Burner
Running Fedora Core 2 fully updated
Kernel 2.6.9-rc2
This is what happens. If I start my machine with only the MultiCard Reader plugged in, it sees the slots as /dev/sdd1 - /dev/sdg1. Of coarse as I plug in other devices they increment up to the next /dev
Now I start the machine and have the Jumpdrive plugged in as well as the multiCard reader. Now the jumpdrive is /dev/sdd1 and card reader is /dev/sde1 - /dev/sdh1
What I what to do is to plug in any device in any order and have them to thier specfic /dev
Is there some file that can define a usb device to specfic /dev location.
Always want these device s to be the following
Card reader to be /dev/sdd1 - /dev/sdg1
Jumpdrive to be /dev/sdh1
Harddrive to be /dev/sdi1
burner to be /dev/sdj1
Even if I don't plug in the jumpdrive or harddrive then I want to card reader to be /dev/sdd1 - /dev/sdg1 and the burner as /dev/sdj1. So if iplug in the harddrive later then it will be /dev/sdi1. So in this setup /dev/sdh1 for the jumpdrive is empty till it is plugged in.
/dev/sda - /dev/sdc are scsi harddrives installed in machine
Thanks for all your help and time.
Brian
Last edited by Brian1; 10-05-2004 at 08:07 PM.
|