Clipping udevsettle

Now this is dangerous. Two boots out of three with this tweak leave me with unmountable system points and a crapped out system, so this is strictly use-at-your-own risk. Your system might not reboot with this one.

For me, the “UDev uevents” pause is the most aggregious of them all, and telling udevsettle to hurry helps quite a bit.

The /etc/start_udev script calls on /sbin/udevsettle to wait for udev’s queue to clear before continuing. At line 60, where the /sbin/udevsettle command appears, tack on a --timeout=5 flag, to trim the wait period to 5 seconds.

Save and reboot. And cross your fingers. In my case, on a machine this old, it cut about two seconds off the boot time, but I get occasional error messages. I image that on a much faster system you might be able to clip udevsettle to an even shorter timeout. For me, 3 seconds seemed to make things very unstable. Five seconds worked, although it still occasionally has issues.

Again, this is not a very smart way of doing things. But I’m impatient.

About these ads

2 Responses to “Clipping udevsettle”

  1. 1 alfrenovsky 2008/02/24 at 6:06 AM

    I did something better
    Instead to call start_udev from rc.sysinit
    I call udevtrigger just after the udev daemon starts
    Then, I call con udevsettle just in the place start_udev is now. So I give udev time to end is job by starting it before.

  2. 2 K.Mandla 2008/02/24 at 8:53 AM

    Interesting. … I’ll have to try that too. Thanks!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Visit the Wiki!

Some recent desktops

May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF

May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games

Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers


This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,957,906 hits



Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: