LinuxQuestions.org
Register a domain and help support LQ
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 06-06-2007, 01:57 AM   #1
aeiouer
Member
 
Registered: Jun 2007
Location: California
Distribution: DSL-n
Posts: 37

Rep: Reputation: 15
how to work hotplug to acess my usb drive


im trying to get it to let me acess files on my flashdrive
and i have no idea what to do
 
Old 06-06-2007, 02:05 AM   #2
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 441

Rep: Reputation: 30
What distribution and kernel are you using? Flash drives are usually called sda for start of space sda1 for first partition and so on. sdb for second drive. Hotplug just loads the appropriate modules needed to use the device. Have you checked to see if hotplug is running? We can work from there.
 
Old 06-06-2007, 02:09 AM   #3
aeiouer
Member
 
Registered: Jun 2007
Location: California
Distribution: DSL-n
Posts: 37

Original Poster
Rep: Reputation: 15
im using damn small
with kernal 2.4 i think
and idk if its running
how would i check
(definately a newbie
 
Old 06-06-2007, 02:41 AM   #4
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 441

Rep: Reputation: 30
I have not used damn small before, but I will still try to help. To see if it is running, grab a console and navigate to where the startup scripts are stored. On Slackware, this is /etc/rc.d/. You should see a script that starts hotplugging. Try typing "find | grep hot" without quotes of course. Check the permissions. If they are set to execute, it's probably running, but to make sure just try to run it and it should list some options. If it's running, stick in your flash drive and try to mount /dev/sda1 somewhere. If that doesn't work chances are the kernel module you need doesn't exist and you will have to recompile the kernel.

If you need to recompile, I highly recommend upgrading to the latest kernel at www.kernel.org and click on F. There are many tutorials on this, and it's very difficult to do right the first time. I wish you luck. Also, I recommend that you use udev rather than the old hotplug system. It's more efficient and gives you a lot more information about what's going on. Here's a helpfull site for getting started with udev.
http://webpages.charter.net/decibels...DEVPrimer.html
and for more information
http://www.kernel.org/pub/linux/util...plug/udev.html
 
Old 06-06-2007, 02:58 AM   #5
aeiouer
Member
 
Registered: Jun 2007
Location: California
Distribution: DSL-n
Posts: 37

Original Poster
Rep: Reputation: 15
theres a box in the corner of the screen that says the names of different drives
and i can choose to mount it there, but idk where it mounts to
 
Old 06-06-2007, 03:16 AM   #6
Hendronicus
Member
 
Registered: Feb 2006
Location: Oldsmar, Fl. USA
Distribution: Slackware, Ubuntu
Posts: 175

Rep: Reputation: 38
Mount the drive, then open a console and type "mount" w/o the quotes to see where it's mounted.

Last edited by Hendronicus; 06-06-2007 at 03:18 AM.
 
  


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
can't mount usb pen drive with hotplug dori Slackware 8 03-02-2007 03:22 AM
usb mouse does not work without hotplug Sephiroth Slackware 3 11-30-2006 03:28 PM
Hotplug and USB drive key. unreal128 Linux - Kernel 9 09-16-2006 11:33 PM
Why do I need hotplug for usb soundcard to work? Randux Slackware 10 05-09-2006 03:17 PM
Hotplug script for Usb drive Forced2Morph Linux - Hardware 0 10-15-2004 09:42 PM


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