chiark / gitweb /
[PATCH] udev init script
authorrml@tech9.net <rml@tech9.net>
Thu, 30 Oct 2003 06:14:24 +0000 (22:14 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:06:22 +0000 (21:06 -0700)
commit8b94dcd0671b038754af7683eccea5b32ccb955d
tree5891269e5d09e30471b8dc6e74f8b245d443f55a
parent2d5b68864f8beeaa89b3d026c6de9a97d70eeb04
[PATCH] udev init script

I integrated udev with Fedora Core.  The main piece is simply building
/udev on boot, since we don't have an initramfs yet. We should also
clear out /udev on shutdown, for /udev directories mounted on persistent
media.

The attached script goes in /etc/init.d

Then do "chkconfig --add udev"

And the rest is handled automatically.  I made it for Fedora but it will
probably work, with little change, on any Linux system.

Right now it only does sysfs-based discovery of block and tty devices,
since those are the only types of devices I have on my system.  There is
a TODO in the script where we would add the other device types.
etc/init.d/udev [new file with mode: 0644]