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 03-08-2004, 02:03 PM   #1
Registered: Aug 2003
Posts: 47

Rep: Reputation: 15
Mounting USB Devices--Controlling the dev file

I have several USB Devices which I plug in and out of my computer all the time. Most of the time, the USB Pen gets read as dev/sda1, but every now and then it changes to /dev/sdb1. I have no idea why this happens and would like to set my system (KDE 3.2, Suse 8.2) so that it always mounts at /dev/sda1.

This is the line from /etc/fstab:
/dev/sda1 /media/usbpen vfat rw,noauto,users,exec,uid=lawrencegoodman 0 0

But this also appears, via the hotplug function in my fastab:
/dev/sdb1 /media/sdb1 auto noauto,user,exec 0 0 #HOTPLUG B3Fu.wuzu9Ml73n0

Is there a way of getting the hotplug feature to turn off just for the USB Pen device?

Thanks for thhe help.
Old 03-08-2004, 04:57 PM   #2
Senior Member
Registered: Oct 2003
Posts: 2,556

Rep: Reputation: 213Reputation: 213Reputation: 213
It's a limitation of devfs which controls usb assignment in linux. The first usb storage device will be assigned /dev/sdax and will hold onto that even if you disconnect the device so the second device you plug in is assigned to /dev/sdbx even if the first device is disconnected at the time. The only way to get rid of it is to reboot or to use the automount feature which keeps track of these things for you.


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
Mounting usb devices under 2.4.x kernels - /dev nodes and mountpoints alienDog Linux - General 0 10-28-2005 08:29 AM
Finding USB Storage Devices Under /dev mchase582 Debian 3 01-29-2005 05:29 PM
Controlling /dev-device for USB-Mp3player (and other) Trygleren Linux - Hardware 2 08-30-2004 05:15 AM
How to allow all users Acess to usb devices not in /dev pHaT tAcO Debian 3 05-04-2004 06:34 PM
mounting 2 ide-scsi devices /dev/cdrom and /dev/cdrom1 issue penguin123 Linux - Hardware 3 09-26-2003 08:36 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:36 PM.

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