LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-02-2007, 02:08 PM   #1
unreal128
Member
 
Registered: Jun 2003
Distribution: SuSE, Slackware, Gentoo
Posts: 207

Rep: Reputation: 30
With Udev, is hotplug really necessary?


As I am starting to become familiar with Udev and its ability run external programs based on events, is hotplug still necessary anymore? I am running Gentoo and the HAL/DBUS system seems to have broken my hotplug system; my auto-backup scripts (for USB keys) don't work anymore. I was thinking of just scrapping hotplug and performing all of my backups through Udev instead. Is this the best way to do it or am I over-generalizing the two?
 
Old 05-02-2007, 02:15 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 70
Recent versions of udev can take the place of hotplug. In fact, most of my systems run udev without hotplug.
 
Old 05-02-2007, 02:22 PM   #3
unreal128
Member
 
Registered: Jun 2003
Distribution: SuSE, Slackware, Gentoo
Posts: 207

Original Poster
Rep: Reputation: 30
Thanks for the quick response; I will uninstall hotplug right now. Since I need to wait for HAL to mount the drive, should I have it call the backup script and put a sleep statement in there or is there a better way? My USB key rule is a higher precedence (60-usbhd.rules) than HAL (90-hal.rules.) Maybe I should just set the 60-usbhd.rules to 91-usbhd.rules and there won't be any latency issues?
 
  


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
Info about hotplug and udev sharathg786 Slackware 2 02-16-2007 12:37 AM
kernel 2.6.18 hotplug/udev? radiodee1 Debian 17 01-03-2007 09:38 AM
Udev or hotplug on slack11 Old_Fogie Slackware 8 11-09-2006 10:06 AM
udev, hotplug and kernel hussam Linux - General 2 02-18-2006 11:01 PM
udev+hotplug+2.6.6=questions shilo Slackware 4 05-31-2004 08:43 PM


All times are GMT -5. The time now is 03:13 AM.

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