LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-17-2004, 03:00 PM   #1
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Increase boot times: have hotplug run in background?


Howdy, just wondering if it would be safe for me to have hotplug run in the background when I'm booting up, so that the system isn't hung up on that one process as I'm booting up (currently it takes up over 20 seconds, and my boot speed time is somewhere around 80 seconds.) So I was just wondering if you guys thought it would be a safe move to just put an & after the command to initiate hotplug when the system boots or not (hopefully this will mean I'll get a boot time that's a little faster)
 
Old 09-17-2004, 03:04 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Nope it's not a good idea because maybe (99% sure) you then run a service that actually needs what's being detected by hotplug.

An alternative idea (which is fast) is to disable hotplug and modprobe all the modules you need manually or make a big kernel with all you need built-in.
 
Old 09-17-2004, 10:24 PM   #3
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by gbonvehi
Nope it's not a good idea because maybe (99% sure) you then run a service that actually needs what's being detected by hotplug.

An alternative idea (which is fast) is to disable hotplug and modprobe all the modules you need manually or make a big kernel with all you need built-in.
How about modprobe the modules that I need usually (right now I have usb interface, alsa, and graphics drivers loaded) and then have Hotplug load afterward? Does hotplug even load for rl1?
 
Old 09-18-2004, 12:23 AM   #4
Sadrul
LQ Newbie
 
Registered: Mar 2004
Distribution: Slackware 10.0 (K: 2.4.26)
Posts: 13

Rep: Reputation: 0
you can try disabling hotplug at startup (chmod -x). if it doesn't cause any prob at startup (it didn't for me), then i think it'll be safe to run it in background during startup.

-- Adil
 
Old 09-18-2004, 07:33 AM   #5
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

i advice this thread.
And yes, i think you can disable hotplug and bring the hw up with modprobe.

regards

slackie1000
 
  


Reply



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
initialization files run multiple times Brad Richards Linux - Newbie 2 02-19-2005 10:56 AM
how to run any binary in background - background process tej Linux - Newbie 1 08-16-2004 12:27 AM
hotplug script executed 3 times Borelian Linux - Software 1 06-28-2004 11:46 PM
ALSA, emu10k1 modprobe has to run about 15 times german Linux - Software 3 02-19-2004 06:48 AM
Command to run a program at designated times nigma Linux - Software 5 05-06-2003 09:07 AM

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

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