Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 12-07-2005, 07:07 PM   #1
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, 04:04 AM   #2
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

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

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


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

All times are GMT -5. The time now is 07: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration