summaryrefslogtreecommitdiff
path: root/etc/init.d/udev
AgeCommit message (Collapse)Author
2005-04-26[PATCH] replace tdb database by simple lockless file databasekay.sievers@vrfy.org
This makes the udev operation completely lockless by storing a file for every node in /dev/.udevdb/* This solved the problem with deadlocking concurrent udev processes waiting for each other to release the file lock under heavy load.
2005-04-26[PATCH] Minor POSIX-fixes for udevtao@kernel.org
The attached patch contains a few patches against udev, to remove use of various XSI:isms and bash:isms, and to change two scripts form /bin/bash to /bin/sh. None of the bash-scripts in test/ uses any bash-specific functions as far as I know, but I didn't touch them since they aren't used runtime. Rationale: * Both of the /bin/bash-scripts are totally free from bashisms, hence they don't need to be /bin/bash; using /bin/sh instead helps (mainly) embedded-people * local and source are bash:isms (well, they exist in several other shells as well, but they aren't part of POSIX or any of its extensions) * -a in tests is an XSI-extension, not part of strict POSIX, and is easily replaced by && | http://www.opengroup.org/onlinepubs/009695399/utilities/test.html * Use of fgrep is deprecated in POSIX in favour of grep -F (though fgrep will remain in use for a long time...) | http://www.opengroup.org/onlinepubs/009695399/utilities/grep.html The fgrep-change isn't really necessary, since fgrep can always be implemented as a shell-script, but the rest of the changes would really be appreciated.
2005-04-26[PATCH] start up udevd ourselves in the init script to give it some good ↵greg@kroah.com
priorities.
2005-04-26[PATCH] update the red hat init script to handle nodes that are not presentgreg@kroah.com
Thanks to Gentoo for the list of these files.
2005-04-26[PATCH] update the init.d udev script based on a patch from Red Hat.greg@kroah.com
2005-04-26[PATCH] remove the .udev.tdb when installing or uninstalling to be safe.greg@kroah.com
2005-04-26[PATCH] remove the database at startup.greg@kroah.com
2005-04-26[PATCH] LSB init script and other stuffeike-hotplug@sf-tec.de
I had too much time during the holidays, so I played a bit with udev. The changes are like last time mostly on the init stuff. I'm sending you this as a great diff which is just for comments. What it does: -fix a typo in Makefile -use only one "grep -v" instead of many -don't include BK-Files into release (shrinks the stuff to 30%!) -add a new init script which is LSB compliant -add some flags to choose which one to use -use /etc/udev/udev.conf in Redhat init script as the source for the udev directory. If this is not done then the init script may create a directory which udev itself isn't using (I changed /udev to /Udev to avoid collisions with /usr and ran into this) -first check for sysfs_dir before creating udev_root (maybe someone else has already fixed this, I saw this discussion on lkml)
2005-04-26[PATCH] more init script cleanups, the stop target now calls udev to cleanup ↵greg@kroah.com
instead of just removing the whole /udev directory.
2005-04-26[PATCH] make udev init script run udev in the background to let startup go ↵greg@kroah.com
much faster
2005-04-26[PATCH] Add restart target to the etc/init.d/udev scriptgreg@kroah.com
Change made by Rolf Eike Beer <eike-hotplug@sf-tec.de>
2005-04-26[PATCH] fix udev init.d script to handle all class devices in sysfs.greg@kroah.com
2005-04-26[PATCH] udev init scriptrml@tech9.net
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.