LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-12-2004, 02:16 PM   #1
davestyle
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Rep: Reputation: 0
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
 
Old 10-12-2004, 02:38 PM   #2
f0ul_Oli
LQ Newbie
 
Registered: Sep 2004
Location: Cheshire, UK
Distribution: Mandrake
Posts: 17

Rep: Reputation: 0
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
 
Old 10-12-2004, 02:49 PM   #3
davestyle
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Original Poster
Rep: Reputation: 0
cool I can mount it manually but Im still wondering how to make it do it automaticly when the plug the device in?
 
Old 10-12-2004, 02:54 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
you'd want to look at supermount
 
  


Reply


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
Get usb.c: ignoring set_interface when pluging in a Belkin USB Direct Connect Cable qwerty102 Linux - Networking 0 02-15-2005 09:49 AM
usb scanner bind hp:linusb:002:005 to /dev/usb/scanner0 TroelsSmit Linux - Newbie 5 07-29-2004 07:16 AM
USB problems: Memorex USB stick 256MB and PSX to USB adapter by Radio Shack Knuckles T15 Linux - Hardware 1 05-19-2004 07:58 PM
Problem with Mandrake 10.0 Community, Sagem usb modem and logitech usb mouse. al370601 Mandriva 4 04-29-2004 07:48 PM
HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu arnostienen Slackware 2 01-29-2004 04:22 PM


All times are GMT -5. The time now is 06:46 PM.

Main Menu
Advertisement
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
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration