summaryrefslogtreecommitdiffstats
path: root/udevstart.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [PATCH] fix stupid off-by-one bug that caused udevstart to die on x86-64 boxes.greg@kroah.com2005-04-271-1/+1
|
* [PATCH] fix dumb bug I added to udevstartgreg@kroah.com2005-04-271-1/+0
|
* [PATCH] make a "last list" of devices for udevstart to operate on last.greg@kroah.com2005-04-271-25/+100
| | | | | | Should fix the dm startup issues, hopefully...
* [PATCH] reverse order of scanning of udevstart to look at class before block.greg@kroah.com2005-04-271-18/+22
| | | | | | this should fix the startup issue for lvm, hopefully...
* [PATCH] udevstart: close open directories.greg@kroah.com2005-04-271-0/+6
| | | | | | Based on a munged patch from Olaf Hering <olh@suse.de>
* [PATCH] udevstart fixkay.sievers@vrfy.org2005-04-271-2/+2
| | | | | | Sorry, udevstart needs a small cleanup after my recent copy/pastes.
* [PATCH] DEVPATH for netdevkay.sievers@vrfy.org2005-04-271-2/+3
| | | | | | | | Here we change the DEVPATH for netdev's in the environment of the dev.d/ scripts to the name the device is renamed to. The original name doesn't exist in the kernel after rename.
* [PATCH] udevd race conditions and performance, assorted cleanupschris_friesen@sympatico.ca2005-04-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch covers a number of areas: 1) sysfs.h is fixed up to use the common dbg() macro. This fixes the case where DEBUG is defined but USE_LOG isn't. 2) udevstart.c is modified to include the proper headers, rather than getting them indirectly which can break depending on Makefile flags 3) udevd.c gets some major changes: a) I added a pipe from the signal handler. This fixes the race conditions that I mentioned earlier. Basically, the point of the pipe is to force the select() call to return immediately if a signal handler fired before we actually started the select() call. This then lets us run the appropriate code based on flags set in the signal handler proper. b) I added a number of flags to coalesce calls to common routines. This should make things slightly more efficient. c) since most calls will tend to come in with a sequence number larger than what has been received, I switched msg_queue_insert() to scan the msg_list backwards to improve performance. filename="udevd.diff"
* [PATCH] udevstart fixesmd@Linux.IT2005-04-271-8/+4
| | | | | | | | | udevstart_no_retval: currently udevstart will always return rc=22 because of the error handling code. I completely removed it because it is not used, and returning a generic error to the init script is not much useful anyway.
* [PATCH] overall trivial trivial cleanupkay.sievers@vrfy.org2005-04-271-2/+2
| | | | | | | | | Here I try to make the style a bit more consistant in the different files, so that new patches just copy the 'right' one :) Some "magic" numbers are replaced and udevtest.c is catched up with udev.
* [PATCH] cleanup udevstartkay.sievers@vrfy.org2005-04-271-122/+70
| | | | | | | | | | | | | | I just wanted to terminate the snprintf() strings, cause I can see a overflow with closed eyes after all the audit :) But then I changed a bit more to bring it in line with the style of the other files. I replaced the exec_udev() function with the one from udevd, cause we don't need to read the stdout from udev. Please have a look if it still works for you too and not only for usernames with 3 characters :)
* [PATCH] add udevstart program based on a old patch from Harald Hoyer ↵greg@kroah.com2005-04-271-0/+247
<harald@redhat.com> This can be used instead of the start_udev script for systems that do not have a shell, or some other problem...