LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices


Reply
  Search this Thread
Old 09-14-2004, 11:56 AM   #1
spaniard
Member
 
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, 10:33 AM   #2
spaniard
Member
 
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?
 
  


Reply


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-09-2004 11:07 PM
Plugging USB Mouse on the go... Jose Muņiz Linux - Hardware 0 02-07-2004 11:21 AM
Kernel 2.4.23 won't boot after plugging in usb mouse mi6 Slackware 5 12-13-2003 05:34 AM
Plugging in USB devices freezes RH 7.3 jrapczak Linux - Hardware 1 10-28-2003 04:25 PM
Plugging USB device pabdom Linux - Hardware 4 08-30-2003 04:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:18 PM.

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