LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   USB Hotpugging ? (https://www.linuxquestions.org/questions/linux-newbie-8/usb-hotpugging-241789/)

davestyle 10-12-2004 01:16 PM

USB Hotpugging ?
 
hey its my first post :)

ok...im using FC2, 2.6.5 kernel. Im not the smartest egg around but I know the basics.

can anyone tell me how to go about automaticly mounting my usb devices.

for example: mount my USB thumbstick

I know its uses hotplug but I couldnt find any good documentation.
so any help at all would be great.

cheers in advance

f0ul_Oli 10-12-2004 01:38 PM

You need to make use you have a device folder for the USB device.
This can be found in the /dev folder and will be sda1 and sdb1

e.g. for an IDE hard drive you would have something like mount /dev/hda /mnt/hd

I think for USB you would use mount /dev/sda1 /dev/uhd # uhd being the name you give for your usb hard drive.

I'm using Mandrake, and it does it automatically. You need to check your /etc/fstab file to see if you have anything usb auto starting.

I hope this helps

davestyle 10-12-2004 01:49 PM

cool I can mount it manually but Im still wondering how to make it do it automaticly when the plug the device in?

acid_kewpie 10-12-2004 01:54 PM

you'd want to look at supermount


All times are GMT -5. The time now is 04:50 AM.