LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 12-07-2005, 06:07 PM   #1
brodskie
LQ Newbie
 
Registered: Aug 2005
Location: Florida, United States
Distribution: Suse
Posts: 16

Rep: Reputation: 0
USB device naming problem


I have 2 USB storage devices, and would like them to automount

The problem is, the naming scheme is never consistent. When plugged in, the devices are called (pick any) /dev/sda /dev/sda1, /dev/sdb , /dev/sdb1, even /dev/sdc

How to I get the first USB device that I plug in to map to /dev/sda, and the second to map to /dev/sdb? Further more, if /dev/sda is gone but /dev/sdb remains, if another device is plugged in, it should be called /dev/sda. Help would be appreciated.
 
Old 12-09-2005, 03:04 AM   #2
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 725

Rep: Reputation: 33
Open the /etc/fstab.
Use the volume label to spcified the devices rather than these file.
 
Old 12-09-2005, 03:09 AM   #3
brodskie
LQ Newbie
 
Registered: Aug 2005
Location: Florida, United States
Distribution: Suse
Posts: 16

Original Poster
Rep: Reputation: 0
thanks, it works perfectly now
 
  


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
usb naming convention hoover93 Linux - Hardware 5 10-19-2005 10:18 PM
Naming device driver Crunch *BSD 2 02-12-2005 10:46 AM
USB Scanner problem: usb 1-2: device not accepting address 3, error -71 lagartoflojo Slackware 1 11-13-2004 04:26 PM
help please naming wireless device! op_stager Linux - Software 3 09-20-2004 12:20 AM
mail server the naming naming convention problem kashan Linux - Newbie 0 07-16-2004 02:08 PM


All times are GMT -5. The time now is 04:44 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration