LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 01-06-2010, 01:08 AM   #1
LQ Newbie
Registered: Nov 2007
Posts: 1

Rep: Reputation: 0
How to disable udev for a faster boot?

I am trying to make gentoo boot faster and in my searching I came across this article One of the things they did was revert to a "persistent, old-school /dev directory so that boot doesn't depend on udev". I would like to know how to do this, but when I searched for disabling udev all the forums say that its a bad idea. All I want to know is how to make a static /dev directory. If someone could tell me how to do this or even just point me in the right direction I would really appreciate it.
Old 01-06-2010, 04:03 AM   #2
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,980

Rep: Reputation: 630Reputation: 630Reputation: 630Reputation: 630Reputation: 630Reputation: 630
There used to be a MAKEDEV script run at install which made piles of device nodes and left them on disk. udev does it on the fly in a ramdisk, and is generally regarded as superior. That article is done at my guess to raise jaded eyebrows in some conference, and turns the whole system, on it's head to shave a few seconds off boot time. My box is close on 30 seconds before it offers a grub option - why hack things to cut that stage without cutting the bios delay? If you want to boot faster, have you checked out initng?
Old 01-06-2010, 05:25 AM   #3
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 13,233

Rep: Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283
Hmmm - I don't know I'd call the Linux Plumbers just "some conference" - see here for example.
I haven't had the opportunity to attend, but hopefully a few of the luminaries will be at lca. Always lots of fun.

As an aside, I don't worry too much about boot time - I go get a coffee; everything's up by the time I get back to the box.

Last edited by syg00; 01-06-2010 at 06:24 AM. Reason: typo
Old 01-07-2010, 03:00 AM   #4
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,980

Rep: Reputation: 630Reputation: 630Reputation: 630Reputation: 630Reputation: 630Reputation: 630
Check out initng. It does it without too much farting about or altering the design of your system. I gather the 'plumbing' referred to is done by software plumbers and not watergate style 'plumbers'
Old 01-09-2010, 05:31 AM   #5
Gentoo support team
Registered: May 2009
Location: 56N 3W
Distribution: Gentoo
Posts: 178

Rep: Reputation: 40

Try baselayout2 if you are not using it already. Its still in testing but will be going stable soon.
Do follow the upgrade guide carefully or your box won't boot.
It still uses udev but all of the baselayout scripts have been rewritten in C, so they run much faster.

The gentoo install CDs have a static /dev but you usually don't see it as the udev created /dev is mounted over the top of it. Poke around inside the CD - but don't boot from it.

You can create your own device special nodes with mknod. See man mknod.

I have a feeling that udev is a key part of device autodetection now too, so hot plugging USB devices won't work automatically any more.


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
LXer: Linux 2.6.30 Gets Faster Boot - but is Fedora Faster? LXer Syndicated Linux News 0 06-11-2009 04:40 AM
How do I disable a device that was enabled in udev? Woodsman Slackware 5 03-29-2008 08:03 PM
Can I disable rc.udev with 2.4 kernel shepper Slackware 2 09-18-2005 08:45 PM
faster boot? oldforce SUSE / openSUSE 2 05-23-2005 05:36 PM
How to boot Mandrake Linux faster (skip boot option) lava Linux - General 7 02-28-2003 02:39 PM

All times are GMT -5. The time now is 01:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration