LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux > 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
 
Thread Tools
Old 08-27-2004, 01:25 PM   #1
Misel
Member
 
Registered: Mar 2003
Location: Berlin
Distribution: Slackware current
Posts: 310
Thanked: 0
Arrow Assign one USB-storage device to one device file


[Log in to get rid of this advertisement]
Hello,

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?
Misel is offline     Reply With Quote
Old 08-28-2004, 04:52 AM   #2
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 454
Thanked: 11
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 http://www.reactivated.net/udevrules.php
R.
r0b0 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 10 05-05-2008 01:10 PM
USB storage device works in 2.4 not 2.6 "no device error" critch Linux - Hardware 4 05-18-2004 12:13 PM
USB mass storage device file system shariqali Linux - Hardware 1 02-19-2004 11:31 AM
USB storage device TazLinux Linux - General 9 12-04-2003 01:36 AM
how can I mount this device: da0: <USB 2.0 Storage Device alkad_mzu *BSD 2 11-15-2003 07:15 PM


All times are GMT -5. The time now is 02:46 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration