Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 09-14-2004, 12:56 PM   #1
Registered: Aug 2004
Location: Spain
Posts: 45

Rep: Reputation: 15
usb plugging order

I am something of a n00b so please forgive me if I do not use the correct terminology, or if this is a stupid question:

I have a usb thumb drive and a usb harddrive (HD in enclosure).
I have the folowing in fstab:
none /mnt/usbstick supermount dev=/dev/sda,fs=vfat,--,umask=0,iocharset=iso8859-15,codepage=850 0 0
none /mnt/usbhd supermount dev=/dev/sdb5,fs=vfat,--,umask=0,iocharset=iso8859-15,codepage=850 0 0

Both devices work perfectly if I plug in the thumbdrive (sda) first and the ext HD (sdb) second.
The thumbdrive can be unplugged and replugged and is still accessible through the MDK 10 supermount icon, however, if the HD is unplugged and replugged, its ID is changed from sdb to sdc (and then to sdd etc.). To get it back to sdb I have to reboot.
If I plug in the HD BEFORE the thumbdrive, the HD is assigned sda.
Is the any way that I can lock a given device to a specific ID, ie. the usb HD should always be recognised as sdb, regardless of the plugging order?
Old 09-22-2004, 11:33 AM   #2
Registered: Aug 2004
Location: Spain
Posts: 45

Original Poster
Rep: Reputation: 15
Well, I have decided to bump this, but simplify the question:

Is the any way that I can lock a given USB storage device (external HD, USB stick, whatever) to a specific ID, ie. a usb HD should always be recognised as sdb, regardless of whether it is the first or second USB storage device to be plugged in?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
System freezing when plugging in USB printer jrdioko Linux - Newbie 4 08-10-2004 12:07 AM
Plugging USB Mouse on the go... Jose Muņiz Linux - Hardware 0 02-07-2004 12:21 PM
Kernel 2.4.23 won't boot after plugging in usb mouse mi6 Slackware 5 12-13-2003 06:34 AM
Plugging in USB devices freezes RH 7.3 jrapczak Linux - Hardware 1 10-28-2003 05:25 PM
Plugging USB device pabdom Linux - Hardware 4 08-30-2003 05:49 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:18 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration