Download your favorite Linux distribution at LQ ISO.
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 08-27-2004, 12:25 PM   #1
Registered: Mar 2003
Location: Berlin
Distribution: Slackware current
Posts: 310

Rep: Reputation: 31
Arrow Assign one USB-storage device to one device file


I have several USB-storage devices that I regularly use (camera, cardreaders, usb-discs ...).

They all work fine but they always get a different device-file depending on the order I plug them in.

So how can I make sure that my camere for example is always on /dev/sda, my hard-discs on /dev/sdb and /dev/sdc, no matter when or in which order I plug them into my PC to make it easier to maintain them in /etc/fstab?

Is that even possible at all?
Old 08-28-2004, 03:52 AM   #2
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
Yes it is. You need kernel 2.6 and udev.
When you get this working, you can write rules for udev to assign devices to device files. See


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 drive not working properly, read only device? (USB key storage device) Arodef Linux - Hardware 14 01-01-2010 07:32 AM
USB storage device works in 2.4 not 2.6 "no device error" critch Linux - Hardware 4 05-18-2004 11:13 AM
USB mass storage device file system shariqali Linux - Hardware 1 02-19-2004 10:31 AM
USB storage device TazLinux Linux - General 9 12-04-2003 12:36 AM
how can I mount this device: da0: <USB 2.0 Storage Device alkad_mzu *BSD 2 11-15-2003 06:15 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:27 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