Arjan van de Ven wrote:
On Thu, 18 Sep 2008 17:41:12 -0700
Bill Nottingham <notting(a)redhat.com> wrote:
> Looking at some of the inefficiencies in bootup (in regards to the 5
> second Fedora boot), we came across MAKEDEV. To be short - it's a pig.
>
> The only user of it in Fedora is udev, which uses it for entries in
> /etc/udev/makedev.d. However, there's an already-upstream solution
> of putting device nodes in /lib/udev/devices. Why not just use this,
> remove MAKEDEV, simplify start_udev, and boot faster?
this btw can be done in two steps;
Step 1) Put the standard static device nodes in /lib/udev/devices
Step 2) Once MAKEDEV no longer is used as a result, obsolete it
Step 1) is obviously simple and can be done with no risk ... and will
in practice make MAKEDEV unused and gives you the boottime gain
I switched from /lib/udev/devices to MAKEDEV!
Complaints have been filed in bugzilla, because /lib should not contain devices.
a
# grep -r foo /lib
could do harm!
selinux does not like devices in /lib also.
Step 2) can be done later... to make people who guard freezes less
nervous