LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Udev or hotplug on slack11 (https://www.linuxquestions.org/questions/slackware-14/udev-or-hotplug-on-slack11-497846/)

Old_Fogie 11-02-2006 06:02 AM

Udev or hotplug on slack11
 
At the risk of sounding like a complete buffoon, how do I know if I'm using udev?

I loaded up the pc with full noob install of slack 11.0 w/the 2.4 sata kernel. told package tool to load hotplug at boot time, then rebooted to run level 3, then installed huge 26 then rebooted.

I had to create a udev rule so that slack 11 would always assign one of two nic's the eth0 slot because all of the sudden the internet would just stop in the 2.6 kernel.

I guess the fact that I had to create a udev rule means that I'm using udev? Is this the case. the rc.udev is not executable in /etc/rc.d directory.

If I'm not using udev, should I be? So far the pc seems ok.

Thank you in advance.

albhaf 11-02-2006 06:45 AM

Easiest way to check if you are using udev is probably to check with
Code:

ps ax
And look for
Code:

  526 ?        S<s    0:00 /sbin/udevd --daemon
If you find a line similar to this one you are most likely using udev.

simcox1 11-02-2006 06:45 AM

About half way down rc.S it explains about udev. rc.udev needs to be executeable for it to run.

uselpa 11-02-2006 08:35 AM

I'm using the 2.6.17.13 kernel with udev and without hotplug. So far, everything seems to work well, and I've used udev to implement persistent naming for some usb devices. Thus kernel 2.6 + udev seem to be a good combination as far as I can tell.

Old_Fogie 11-03-2006 05:17 AM

Hi all,

thank you so so very much for taking time to reply to me.

Interestingly: as albhaf pointed out, I did have that process running, however it was in addition to the hotplug running too.

I went into my /etc/rc.d/ folder and made hotplug not executable and the udev executable, reboot and crossed fingers....

and.

HOLY COW!!!! My boot process is lightening fast wowzers!

I was putting off loading up my old pc's with slack11, but now after seeing this, I cannot wait to load them.

Thanks again.

hrp2171 11-08-2006 02:13 PM

Hmm interesting that you guys are running udev successfully. I read on another thread that udev broke someone's X configuration. :scratch:

I'm going to give udev a try. I don't like to see delays during boot time(i.e. hotplug and ldconfig).

cmk77 11-09-2006 02:22 AM

Quote:

I don't like to see delays during boot time(i.e. hotplug and ldconfig).
See also this thread on backgrounding ldconfig
http://www.linuxquestions.org/questi...d.php?t=450803

duryodhan 11-09-2006 05:22 AM

Another tip someone gave was to let idconfig run during shutdown. Who cares how long it takes for it to shutdown...

hrp2171 11-09-2006 10:06 AM

Wow, what a difference in boot speed!

No hotplug + ldconfig tip to run it 5 minutes after system is running.

Gotta Love It! :D ;)


All times are GMT -5. The time now is 11:14 PM.