Latest LQ Deal: Linux Power User Bundle
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, 11:05 AM   #1
LQ Newbie
Registered: Mar 2004
Location: Denmark
Distribution: Debian GNU/Linux
Posts: 20

Rep: Reputation: 0
Controlling /dev-device for USB-Mp3player (and other)


I'm currently using a USB-harddrive and a USB-mp3player on my debian box. The problem is, that my fstab is never correct, since the order of which the devices are connected, determines where they are mounted under /dev/. Sometimes the mp3player is mounted as sda1, other times sdb1. This makes it very difficult to maintain a static list of mount points.

Is there any way of controlling what mount point a device is given under /dev/ ? A way that I can 'reserve' sda1 for my mp3player and sdb1 for my external harddrive?
Old 08-28-2004, 03:54 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
Old 08-30-2004, 05:15 AM   #3
LQ Newbie
Registered: Mar 2004
Location: Denmark
Distribution: Debian GNU/Linux
Posts: 20

Original Poster
Rep: Reputation: 0
Worked like a charm - thx a million :-)


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
which device in /dev is mapped to an USB device malo_umoran Slackware 4 07-31-2005 01:12 PM
Failed to open device /dev/usb/ttyUSB0: No such device efm Linux - Newbie 2 04-04-2005 08:46 PM
Mounting USB Devices--Controlling the dev file lawrencegoodman Linux - Hardware 1 03-08-2004 04:57 PM
HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu arnostienen Slackware 2 01-29-2004 03:22 PM
/dev location or name of USB device dark_forests Linux - Hardware 3 10-12-2003 11:37 PM

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