summaryrefslogtreecommitdiff
path: root/udev.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-11-13 14:51:10 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 22:27:34 -0700
commit7225821d631f37f3c2b11e1d62aeb516b2acec30 (patch)
tree01579837697c8de0baefa2c678d368a5b45f2c56 /udev.c
parent7efa217db0db946e68e6274e2b9cbe0a973ec47a (diff)
[PATCH] disable logging for udevstart
The slow logging facilites on some systems are a reason for the reported slowness of udevstart. On one of my boxes udevstart is down from 9 second to 0.3 seconds.
Diffstat (limited to 'udev.c')
-rw-r--r--udev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/udev.c b/udev.c
index a41f222778..78fe82cfbb 100644
--- a/udev.c
+++ b/udev.c
@@ -143,6 +143,7 @@ int main(int argc, char *argv[], char *envp[])
switch(act_type) {
case UDEVSTART:
dbg("udevstart");
+ udev_log = 0;
namedev_init();
retval = udev_start();
break;