LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   mounting USB pen drives by device id (https://www.linuxquestions.org/questions/slackware-14/mounting-usb-pen-drives-by-device-id-369549/)

ProtoformX 10-03-2005 10:15 PM

mounting USB pen drives by device id
 
Hi, I have a tiny problem, is there anyway to mount a usb device by its device id? the reason why i want this is because I have a digital camria, pendrive, and 7 in 1 drive for all my flash media, now I want to make mount points for all these devices, but some of them are hot pugible devices sometimes switch what device node there on because of how many devices are pluged in... is there away to tell mount you use the usb's device id instead of a device node?

Hangdog42 10-04-2005 07:52 AM

You can use a custom udev rule to mount a specific usb device to a specific /dev point. There is a pretty decent tutorial here and if you do an LQO search, you should also turn up some examples of how to write udev rules.


All times are GMT -5. The time now is 05:41 PM.