LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-04-2005, 11:04 AM   #1
mooreted
Member
 
Registered: May 2003
Posts: 598

Rep: Reputation: 30
USB Hotplugging Howto?


I have a Seagate external USB drive that works fine under Mandrake 10.0 with kernel 2.6.7. However, I have to reboot everytime I want to connect it. I have searched all over for howtos on hotplugging the drive but they are all for 2.4.x kernels. I don't want to have to reboot every time I want to use this drive; how can I do that?
 
Old 02-04-2005, 11:14 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi.

USB hot-plugging should Just Work for hard drives.
Are you unmounting before you remove the drive?

Dave
 
Old 02-04-2005, 11:58 AM   #3
mooreted
Member
 
Registered: May 2003
Posts: 598

Original Poster
Rep: Reputation: 30
Oh, I didn't think of that. I will try unmounting the drive before removing is and see if that works...

Nope, I get:

[root@localhost mooreted]# umount /dev/sda1
umount: /mnt/USB: device is busy
umount: /mnt/USB: device is busy

I'll start searching for that problem. It's usually because you are in the directory you have the drive mounted to, but not in this case.
 
Old 02-04-2005, 12:02 PM   #4
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Try doing 'lsof /mnt/USB' (as root) to see what programs are using the drive.

Dave
 
Old 02-04-2005, 12:04 PM   #5
mooreted
Member
 
Registered: May 2003
Posts: 598

Original Poster
Rep: Reputation: 30
Okay, it was some process (2607). It unmounted. Now lets see if I can remove it and plug it back in and mount it...

Yep, that worked, thanks!
 
  


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
Hotplugging USB, CUPS, and printers jrdioko Linux - Newbie 3 08-13-2005 11:57 PM
USB Hotplugging and ECIADSL Tuetates Linux - Hardware 0 07-20-2005 04:42 AM
USB Device no found when hotplugging salukibob Linux - Hardware 1 01-24-2005 09:03 PM
USB Hotplugging in LFS urk_forever Linux From Scratch 1 04-20-2004 05:36 PM
Hotplugging USB Modem guygriffiths Linux - Hardware 1 07-29-2003 12:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 03:18 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
Open Source Consulting | Domain Registration