summaryrefslogtreecommitdiff
path: root/extras/start_udev
AgeCommit message (Collapse)Author
2005-04-26[PATCH] big cleanup of internal udev apikay.sievers@vrfy.org
Here is the first patch to cleanup the internal processing of the various stages of an udev event. It should not change any behavior, but if your system depends on udev, please always test it before reboot :) We pass only one generic structure around between add, remove, namedev, db and dev_d handling and make all relevant data available to all internal stages. All udev structures are renamed to "udev". We replace the fake parameter by a flag in the udev structure. We open the class device in the main binaries and not in udev_add, to make it possible to use libsysfs for udevstart directory crawling. The last sleep parameters are removed.
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] clean up start_udev a bittrini@kernel.crashing.org
First, update extras/start_udev. udevstart always internally set UDEV_NO_SLEEP as well as setting the ACTION variable, so that only needs to be done in the run_udev script case. Signed-off-by: Tom Rini <trini@kernel.crashing.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
2005-04-26[PATCH] make start_udev use udevstart binarygreg@kroah.com
2005-04-26[PATCH] remove udevd priority TODO item, as it's not needed at all.greg@kroah.com
We want to be started by keventd, as that runs at a very fast priority.
2005-04-26[PATCH] more HOWTO cleanups.greg@kroah.com
2005-04-26[PATCH] add start_udev init script.greg@kroah.com