Skip to contentSkip to conversation

udev 016 release

ANNOUNCE Greg KH 5 participants 21 messages Feb 3, 2004 – Feb 12, 2004 Kbuild

lore
Share & tools
lore

Greg KH

author
#0 lore raw

I've released the 016 version of udev. It can be found at:
kernel.org/pub/linux/utils/kernel/hotplug/udev-016.tar.gz

rpms built against Red Hat FC1 are available at:

	kernel.org/pub/linux/utils/kernel/hotplug/udev-016-1.i386.rpm

with the source rpm at:
kernel.org/pub/linux/utils/kernel/hotplug/udev-016-1.src.rpm

udev allows users to have a dynamic /dev and provides the ability to have persistent device names. It uses sysfs and /sbin/hotplug and runs entirely in userspace. It requires a 2.6 kernel with CONFIG_HOTPLUG enabled to run. Please see the udev FAQ for any questions about it:
kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ

For any udev vs devfs questions anyone might have, please see:
kernel.org/pub/linux/utils/kernel/hotplug/udev_vs_devfs

Major changes from the 015 version:
- udev is now in 3 pieces:
udevsend - is called by /sbin/hotplug and bundles up the
hotplug event and sends it off to the udevd daemon.
udevd - receives the hotplug messages from udevsend, sorts
them in the proper order, and runs udev for the different devices.
udev - still the same. Does the actual device node creation
and removal.

This has been one of the major pieces missing for udev, and I really want to thank Kay Sievers for all of his hard work on this.

Right now, udevsend and udev are built against klibc (udevsend is only 2.5Kb big), and udevd is linked dynamically against glibc, due to it using pthreads. This is ok, as udev can still be placed into initramfs and run at early boot, it's only after init starts up that udevsend and udevd will kick in.

Thanks also to everyone who has send me patches for this release, a full list of everyone, and their changes is below.

udev development is done in a BitKeeper repository located at:
bk://linuxusb.bkbits.net/udev

Daily snapshots of udev from the BitKeeper tree can be found at:
http://www.codemonkey.org.uk/projects/bitkeeper/udev/
If anyone ever wants a tarball of the current bk tree, just email me.

thanks,

greg k-h

Summary of changes from v015 to v016
======================

<elkropac:students.zcu.cz>:
o get_dev_number() in extras/ide-devfs.sh

<rrm3:rrm3.org>:
o FAQ udev.rules.devfs

Greg Kroah-Hartman:
o add udevd and udevsend to the spec file
o make /etc/hotplug.d/default/udev.hotplug symlink point to udevsend now
o add KERNEL_DIR option so that the distros will be happy
o make udevsend binary even smaller
o udevsend now almost compiles with klibc, struct sockaddr_un is only problem now
o fix up logging code so that it can be built without it being enabled
o rework the logging code so that each program logs with the proper name in the syslog
o remove logging.c as it's no longer needed
o kill the last examples that contained the %D option
o remove a __KLIBC__ tests in libsysfs, as klibc now supports getpagesize()
o udevd - remove stupid locking error I wrote
o update to klibc version 0.101, fixing the stdin bug
o fix Makefile typo for USE_LSB install
o 015_bk mark
o allow dbus code to actually build again
o v015 release TAG: v015

Kay Sievers:
o let udevsend build with klibc
o udevd - config cleanup
o udevd - cleanup and better timeout handling
o fix possible buffer overflow
o udevd - next round of fixes
o udevinfo - missing options for man page
o udev - trivial style cleanup

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw
Quoted 8 lines · Greg KH

Right now, udevsend and udev are built against klibc (udevsend is only 2.5Kb big), and udevd is linked dynamically against glibc, due to it using pthreads. This is ok, as udev can still be placed into initramfs and run at early boot, it's only after init starts up that udevsend and udevd will kick in.

I am guessing this breaks group names (and not gid's) in udev.permissions? Or was support added to klibc?

Thanks,

Signature · 1 line
Martin Schlemmer
author
#2 lore raw
Quoted 11 lines · Martin Schlemmer
Quoted 8 lines · Greg KH

Right now, udevsend and udev are built against klibc (udevsend is only 2.5Kb big), and udevd is linked dynamically against glibc, due to it using pthreads. This is ok, as udev can still be placed into initramfs and run at early boot, it's only after init starts up that udevsend and udevd will kick in.

Quoted 2 lines

I am guessing this breaks group names (and not gid's) in udev.permissions? Or was support added to klibc?

Sorry, that should have read something to the effect that the .rpm is built using klibc, and that udevd can't be build against it yet due to pthreads being used.

It's entirely possible to build everything against glibc, and then you get back the group name stuff for the udev.permission file.

thanks,

greg k-h

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#3 lore raw
In reply to Greg KH

On Tue, 2004-02-03 at 22:13, Greg KH wrote:

Except if I miss something major, udevsend and udevd still do not work:

--
# (export ACTION=add; export DEVPATH=/class/vc/vcsa7; strace -ff udevsend vc)
execve("/sbin/udevsend", ["udevsend", "vc"], [/* 55 vars */]) = 0
uname({sys="Linux", node="nosferatu", ...}) = 0
brk(0) = 0x804a000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
open("/etc/ld.so.preload", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
close(3) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=79499, ...}) = 0
mmap2(NULL, 79499, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\31Y\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1573165, ...}) = 0
mmap2(NULL, 1256716, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4002c000
mmap2(0x40159000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x12c) = 0x40159000
mmap2(0x4015d000, 7436, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4015d000
close(3) = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0x40017a80, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0x40018000, 79499) = 0
open("/dev/urandom", O_RDONLY) = 3
read(3, "\31\317w\302n\v\0354\261\232\247\251\314\3\351O\256Yd\347"..., 32) = 32
close(3) = 0
exit_group(1) = ?
--

Btw - using NPTL over here ...

Signature · 1 line
Martin Schlemmer
#4 lore raw
Quoted 5 lines · Martin Schlemmer

On Tue, 2004-02-03 at 22:13, Greg KH wrote:

Except if I miss something major, udevsend and udevd still do not work:

Skip that, it does work if SEQNUM is set :P

Anyhow, is it _really_ needed for SEQNUM to be set? What about the attached patch?

Then, order I have not really checked yet, but there are two things that bother me:

1) latency is even higher than before (btw Greg, is there going to be more sysfs/whatever fixes to get udev even faster, or is this the limit?)

2) events gets missing. If you for example use udevsend in the initscript that populate /dev (/udev), the amount of nodes/links created is off with about 10-50 (once about 250) entries.

Thanks,

Signature · 1 line
Martin Schlemmer
udevsend.c +5 -1
@@ -149,10 +149,14 @@
 
 	seqnum = get_seqnum();
 	if (seqnum == NULL) {
+#if 0
 		dbg("no seqnum");
 		goto exit;
+#endif
+		seq = 1;
+	} else {
+		seq = atoi(seqnum);
 	}
-	seq = atoi(seqnum);
 
 	sock = socket(AF_LOCAL, SOCK_STREAM, 0);
 	if (sock == -1) {
author
#5 lore raw
Quoted 11 lines · Martin Schlemmer
Quoted 5 lines · Martin Schlemmer

On Tue, 2004-02-03 at 22:13, Greg KH wrote:

Except if I miss something major, udevsend and udevd still do not work:

Skip that, it does work if SEQNUM is set :P

Anyhow, is it _really_ needed for SEQNUM to be set? What about the attached patch?

Yes it is necessary, as that is what the kernel spits out. It's also the whole reason we need udevd :)

If you don't want to give a SEQNUM, just call udev directly.

Quoted 6 lines

Then, order I have not really checked yet, but there are two things that bother me:

1) latency is even higher than before (btw Greg, is there going to be more sysfs/whatever fixes to get udev even faster, or is this the limit?)

Care to measure the latency somehow? The first event is a bit slow, but everything after that is as fast as I ever remember it being.

Quoted 3 lines

2) events gets missing. If you for example use udevsend in the initscript that populate /dev (/udev), the amount of nodes/links created is off with about 10-50 (once about 250) entries.

Hm, that's not good. I'll go test that and see what's happening.

thanks,

greg k-h

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#6 lore raw
Quoted 10 lines · Greg KH
Quoted 9 lines · Martin Schlemmer
Quoted 5 lines · Martin Schlemmer

On Tue, 2004-02-03 at 22:13, Greg KH wrote:

Except if I miss something major, udevsend and udevd still do not work:

Skip that, it does work if SEQNUM is set :P

Quoted 7 lines
Quoted 2 lines

Anyhow, is it _really_ needed for SEQNUM to be set? What about the attached patch?

Yes it is necessary, as that is what the kernel spits out. It's also the whole reason we need udevd :)

If you don't want to give a SEQNUM, just call udev directly.

Oh, never use this udevsend in any script. It expects the SEQNUM from the kernel, not a random one from you! You will always get timeouts everytime you use your own SEQNUM, like the timeout after the start of udevd.

If you really need udevsend, I can't imagine for what case, we need to add some logic to it, to bypass the event ordering and waiting to put the event straight to the exec_queue.

Quoted 3 lines
Quoted 3 lines

2) events gets missing. If you for example use udevsend in the initscript that populate /dev (/udev), the amount of nodes/links created is off with about 10-50 (once about 250) entries.

Your are calling udevsend with your script?

Quoted 1 line

Hm, that's not good. I'll go test that and see what's happening.

thanks,
Kay

#7 lore raw
In reply to Greg KH
Quoted 10 lines · Greg KH
Quoted 9 lines · Martin Schlemmer
Quoted 5 lines · Martin Schlemmer

On Tue, 2004-02-03 at 22:13, Greg KH wrote:

Except if I miss something major, udevsend and udevd still do not work:

Skip that, it does work if SEQNUM is set :P

Quoted 8 lines
Quoted 2 lines

Anyhow, is it _really_ needed for SEQNUM to be set? What about the attached patch?

Yes it is necessary, as that is what the kernel spits out. It's also the whole reason we need udevd :)

If you don't want to give a SEQNUM, just call udev directly.

Ok, was just thinking it could lead to confusion with debug usually not compiled in. Maybe a more visible error (as we then know it was outside the kernel)?

Quoted 10 lines
Quoted 6 lines

Then, order I have not really checked yet, but there are two things that bother me:

1) latency is even higher than before (btw Greg, is there going to be more sysfs/whatever fixes to get udev even faster, or is this the limit?)

Care to measure the latency somehow? The first event is a bit slow, but everything after that is as fast as I ever remember it being.

Hmm, Ok, it seems it is much better on batch jobs (or if udevd is running) then from clean start, sorry.

Quoted 6 lines
Quoted 3 lines

2) events gets missing. If you for example use udevsend in the initscript that populate /dev (/udev), the amount of nodes/links created is off with about 10-50 (once about 250) entries.

Hm, that's not good. I'll go test that and see what's happening.

Script is attached. If I was being silly here, let me know. Some quick testing again, it seems like the missing events is more with the echo not commented, but could be just some fluke (there was still however more than 5 usually missing).

Thanks,

Signature · 1 line
Martin Schlemmer

#!/bin/bash

SEQNUM=0

call_udev() {
	export SEQNUM=$((SEQNUM + 1))
	#echo "DEVPATH=$DEVPATH, CLASS=$1, SEQNUM=$SEQNUM"
	/sbin/udevsend $1
}

populate_udev() {
local x=
local y=
local CLASS=

# Propogate /dev from /sys - we only need this while we do not # have initramfs and an early user-space with which to do early # device bring up
export ACTION=add

# Add block devices and their partitions
for x in /sys/block/*
do
# Add each drive
export DEVPATH="${x#/sys}"
call_udev block

# Add each partition, on each device
for y in ${x}/*
do
if [ -f "${y}/dev" ]
then
export DEVPATH="${y#/sys}"
call_udev block
fi
done
done

# All other device classes
for x in /sys/class/*
do
for y in ${x}/*
do
if [ -f "${y}/dev" ]
then
CLASS="$(echo "${x#/sys}" | cut --delimiter='/' --fields=3-)" export DEVPATH="${y#/sys}"
call_udev ${CLASS}
fi
done
done

unset ACTION DEVPATH

return 0
}

populate_udev

#8 lore raw
Quoted 4 lines · Martin Schlemmer
Quoted 4 lines
Quoted 3 lines

2) events gets missing. If you for example use udevsend in the initscript that populate /dev (/udev), the amount of nodes/links created is off with about 10-50 (once about 250) entries.

Quoted 8 lines
Quoted 2 lines

Hm, that's not good. I'll go test that and see what's happening.

Script is attached. If I was being silly here, let me know. Some quick testing again, it seems like the missing events is more with the echo not commented, but could be just some fluke (there was still however more than 5 usually missing).

Btw, I also get this now and then for /dev/snd/* stuff. I had a few times already where controlC0 was not created (and this is after the script runs to generate /dev ...).

Thanks,

Signature · 1 line
Martin Schlemmer
#9 lore raw
Quoted 15 lines · Martin Schlemmer
Quoted 4 lines · Martin Schlemmer
Quoted 4 lines
Quoted 3 lines

2) events gets missing. If you for example use udevsend in the initscript that populate /dev (/udev), the amount of nodes/links created is off with about 10-50 (once about 250) entries.

Quoted 8 lines
Quoted 2 lines

Hm, that's not good. I'll go test that and see what's happening.

Script is attached. If I was being silly here, let me know. Some quick testing again, it seems like the missing events is more with the echo not commented, but could be just some fluke (there was still however more than 5 usually missing).

Quoted 4 lines

Btw, I also get this now and then for /dev/snd/* stuff. I had a few times already where controlC0 was not created (and this is after the script runs to generate /dev ...).

I should clarify here - /dev is generated, and only _after_ that the sound modules is loaded which should then get /dev/snd/* created. It is thus not as many nodes as /dev creation that also causes missing events ...

Signature · 1 line
Martin Schlemmer
#10 lore raw
In reply to Greg KH

On Feb 03, Greg KH <[email protected]> wrote:

I'm attaching a trivial patch to remove a warning. BTW, udev still takes a long time to start when D-BUS support is enabled.

Signature · 2 lines
ciao, |
Marco | [4432 piayT8BICqZQ2]
logging.h +1 -0
diff -ruN udev-016.orig/logging.h udev-016/logging.h
@@ -32,6 +32,7 @@
 #ifdef LOG
 #include <stdarg.h>
 #include <syslog.h>
+#include <unistd.h>
 
 #undef info
 #define info(format, arg...)								\
#11 lore raw
In reply to Greg KH

On Tue, 2004-02-03 at 22:13, Greg KH wrote:

Once again, patch to make logging a config option.

Reason for this (since you asked for it =):
- In our setup it is easy (although still annoying) .. just edit the ebuild, add logging support (or remove it) and rebuild. For say a binary distro, having the logging is useful for debugging some times, but its more a once of, or rare thing, as you do not add or change config files every day. Sure, we can have logging by default, but many do not want ~300 lines of extra debugging in their logs is not pleasant, and they will complain. Rebuilding the package for that binary package (given the users it is targeted to) is usually not within most users grasp.

Thanks,

Signature · 1 line
Martin Schlemmer
Makefile +1 -0
diff -uprN udev-016/Makefile udev-016.logging/Makefile
@@ -239,6 +239,7 @@ udev_version.h:
 	@echo \#define UDEV_CONFIG_FILE	\"$(configdir)\udev.conf\" >> $@
 	@echo \#define UDEV_RULES_FILE	\"$(configdir)\udev.rules\" >> $@
 	@echo \#define UDEV_PERMISSION_FILE	\"$(configdir)\udev.permissions\" >> $@
+	@echo \#define UDEV_LOG_DEFAULT \"yes\" >> $@
 	@echo \#define UDEV_BIN		\"$(DESTDIR)$(sbindir)/udev\" >> $@
 	@echo \#define UDEVD_BIN	\"$(DESTDIR)$(sbindir)/udevd\" >> $@
 	@echo \#define UDEVD_SOCK	\"$(udevdir)/\.udevd.sock\" >> $@
etc/udev/udev.conf.in +3 -0
diff -uprN udev-016/etc/udev/udev.conf.in udev-016.logging/etc/udev/udev.conf.in
@@ -29,3 +29,6 @@ default_owner="root"
 #                 explicit match in the permissions file
 default_group="root"
 
+# udev_log - set to "yes" if you want logging, else "no"
+udev_log="yes"
+
logging.h +6 -0
diff -uprN udev-016/logging.h udev-016.logging/logging.h
@@ -33,6 +33,9 @@
 #include <stdarg.h>
 #include <syslog.h>
 
+#include "udev.h"
+#include "udev_version.h"
+
 #undef info
 #define info(format, arg...)								\
 	do {										\
@@ -62,6 +65,9 @@ static inline void log_message (int leve
 {
 	va_list	args;
 
+	if (0 != strncmp(udev_log_str, UDEV_LOG_DEFAULT, BOOL_SIZE))
+		return;
+
 	va_start(args, format);
 	vsyslog(level, format, args);
 	va_end(args);
udev.h +3 -0
diff -uprN udev-016/udev.h udev-016.logging/udev.h
@@ -32,6 +32,8 @@
 #define OWNER_SIZE	30
 #define GROUP_SIZE	30
 #define MODE_SIZE	8
+#define BOOL_SIZE	5	/* 'yes', 'no' and possibly 'true' or 'false'
+				   in future */
 
 struct udevice {
 	char name[NAME_SIZE];
@@ -72,5 +74,6 @@ extern char udev_rules_filename[PATH_MAX
 extern char default_mode_str[MODE_SIZE];
 extern char default_owner_str[OWNER_SIZE];
 extern char default_group_str[GROUP_SIZE];
+extern char udev_log_str[BOOL_SIZE];
 
 #endif
udev_config.c +5 -0
diff -uprN udev-016/udev_config.c udev-016.logging/udev_config.c
@@ -48,6 +48,7 @@ char udev_config_filename[PATH_MAX+NAME_
 char default_mode_str[MODE_SIZE];
 char default_owner_str[OWNER_SIZE];
 char default_group_str[GROUP_SIZE];
+char udev_log_str[BOOL_SIZE];
 
 
 static void init_variables(void)
@@ -60,6 +61,7 @@ static void init_variables(void)
 	strfieldcpy(udev_config_filename, UDEV_CONFIG_FILE);
 	strfieldcpy(udev_rules_filename, UDEV_RULES_FILE);
 	strfieldcpy(udev_permissions_filename, UDEV_PERMISSION_FILE);
+	strfieldcpy(udev_log_str, UDEV_LOG_DEFAULT);
 }
 
 #define set_var(_name, _var)				\
@@ -156,6 +158,7 @@ static int parse_config_file(void)
 		set_var("default_mode", default_mode_str);
 		set_var("default_owner", default_owner_str);
 		set_var("default_group", default_group_str);
+		set_var("udev_log", udev_log_str);
 	}
 	dbg_parse("%s:%d:%Zd: error parsing '%s'", udev_config_filename,
 		  lineno, temp - line, temp);
@@ -191,6 +194,7 @@ static void get_dirs(void)
 	dbg_parse("udev_db_filename = %s", udev_db_filename);
 	dbg_parse("udev_rules_filename = %s", udev_rules_filename);
 	dbg_parse("udev_permissions_filename = %s", udev_permissions_filename);
+	dbg_parse("udev_log_str = %s", udev_log_str);
 	parse_config_file();
 
 	dbg_parse("udev_root = %s", udev_root);
@@ -198,6 +202,7 @@ static void get_dirs(void)
 	dbg_parse("udev_db_filename = %s", udev_db_filename);
 	dbg_parse("udev_rules_filename = %s", udev_rules_filename);
 	dbg_parse("udev_permissions_filename = %s", udev_permissions_filename);
+	dbg_parse("udev_log_str = %s", udev_log_str);
 }
 
 void udev_init_config(void)
author
#12 lore raw
Quoted 4 lines · Martin Schlemmer

On Tue, 2004-02-03 at 22:13, Greg KH wrote:

Once again, patch to make logging a config option.

Quoted 10 lines

Reason for this (since you asked for it =):
- In our setup it is easy (although still annoying) .. just edit the ebuild, add logging support (or remove it) and rebuild. For say a binary distro, having the logging is useful for debugging some times, but its more a once of, or rare thing, as you do not add or change config files every day. Sure, we can have logging by default, but many do not want ~300 lines of extra debugging in their logs is not pleasant, and they will complain. Rebuilding the package for that binary package (given the users it is targeted to) is usually not within most users grasp.

Ok, I applied this patch.

And then I went back and fixed it so it actually would work :(

Here's the changes I had to make to get everything to build properly, and to let us have a boolean type for the config files.

thanks,

greg k-h

# fix log option code so that it actually works for all udev programs.
# Also introduce boolean type for config file to use.
logging.h +5 -7
diff -Nru a/logging.h b/logging.h
@@ -34,9 +34,6 @@
 #include <unistd.h>
 #include <syslog.h>
 
-#include "udev.h"
-#include "udev_version.h"
-
 #undef info
 #define info(format, arg...)								\
 	do {										\
@@ -60,22 +57,23 @@
 	} while (0)
 #endif
 
+/* each program must declare this variable and function somewhere */
+extern unsigned char logname[42];
+extern int log_ok(void);
+
 static void log_message (int level, const char *format, ...)
 	__attribute__ ((format (printf, 2, 3)));
 static inline void log_message (int level, const char *format, ...)
 {
 	va_list	args;
 
-	if (0 != strncmp(udev_log_str, UDEV_LOG_DEFAULT, BOOL_SIZE))
+	if (!log_ok())
 		return;
 
 	va_start(args, format);
 	vsyslog(level, format, args);
 	va_end(args);
 }
-
-/* each program must declare this variable somewhere */
-extern unsigned char logname[42];
 
 #undef init_logging
 static inline void init_logging(char *program_name)
test/ignore_test +1 -0
diff -Nru a/test/ignore_test b/test/ignore_test
@@ -16,6 +16,7 @@
 udev_db="$PWD/udev/.udev.tdb"
 udev_rules="$PWD/$RULES"
 udev_permissions="$PWD/udev.permissions"
+udev_log="true"
 EOF
 
 mkdir udev
udev.c +5 -0
diff -Nru a/udev.c b/udev.c
@@ -40,6 +40,11 @@
 char **main_envp;
 unsigned char logname[42];
 
+int log_ok(void)
+{
+	return udev_log;
+}
+
 static void sig_handler(int signum)
 {
 	dbg("caught signal %d", signum);
udev.h +1 -3
diff -Nru a/udev.h b/udev.h
@@ -32,8 +32,6 @@
 #define OWNER_SIZE	30
 #define GROUP_SIZE	30
 #define MODE_SIZE	8
-#define BOOL_SIZE	5	/* 'yes', 'no' and possibly 'true' or 'false'
-				   in future */
 
 struct udevice {
 	char name[NAME_SIZE];
@@ -74,6 +72,6 @@
 extern char default_mode_str[MODE_SIZE];
 extern char default_owner_str[OWNER_SIZE];
 extern char default_group_str[GROUP_SIZE];
-extern char udev_log_str[BOOL_SIZE];
+extern int udev_log;
 
 #endif
udev_config.c +20 -5
diff -Nru a/udev_config.c b/udev_config.c
@@ -48,9 +48,18 @@
 char default_mode_str[MODE_SIZE];
 char default_owner_str[OWNER_SIZE];
 char default_group_str[GROUP_SIZE];
-char udev_log_str[BOOL_SIZE];
+int udev_log;
 
 
+static int string_is_true(char *str)
+{
+	if (strcasecmp(str, "true") = 0)
+		return 1;
+	if (strcasecmp(str, "yes") = 0)
+		return 1;
+	return 0;
+}
+
 static void init_variables(void)
 {
 	/* fill up the defaults.  
@@ -61,7 +70,7 @@
 	strfieldcpy(udev_config_filename, UDEV_CONFIG_FILE);
 	strfieldcpy(udev_rules_filename, UDEV_RULES_FILE);
 	strfieldcpy(udev_permissions_filename, UDEV_PERMISSION_FILE);
-	strfieldcpy(udev_log_str, UDEV_LOG_DEFAULT);
+	udev_log = string_is_true(UDEV_LOG_DEFAULT);
 }
 
 #define set_var(_name, _var)				\
@@ -70,6 +79,12 @@
 		strncpy(_var, value, sizeof(_var));	\
 	}
 
+#define set_bool(_name, _var)				\
+	if (strcasecmp(variable, _name) = 0) {		\
+		dbg_parse("%s = '%s'", _name, value);	\
+		_var = string_is_true(value);		\
+	}
+
 int parse_get_pair(char **orig_string, char **left, char **right)
 {
 	char *temp;
@@ -158,7 +173,7 @@
 		set_var("default_mode", default_mode_str);
 		set_var("default_owner", default_owner_str);
 		set_var("default_group", default_group_str);
-		set_var("udev_log", udev_log_str);
+		set_bool("udev_log", udev_log);
 	}
 	dbg_parse("%s:%d:%Zd: error parsing '%s'", udev_config_filename,
 		  lineno, temp - line, temp);
@@ -194,7 +209,7 @@
 	dbg_parse("udev_db_filename = %s", udev_db_filename);
 	dbg_parse("udev_rules_filename = %s", udev_rules_filename);
 	dbg_parse("udev_permissions_filename = %s", udev_permissions_filename);
-	dbg_parse("udev_log_str = %s", udev_log_str);
+	dbg_parse("udev_log = %d", udev_log);
 	parse_config_file();
 
 	dbg_parse("udev_root = %s", udev_root);
@@ -202,7 +217,7 @@
 	dbg_parse("udev_db_filename = %s", udev_db_filename);
 	dbg_parse("udev_rules_filename = %s", udev_rules_filename);
 	dbg_parse("udev_permissions_filename = %s", udev_permissions_filename);
-	dbg_parse("udev_log_str = %s", udev_log_str);
+	dbg_parse("udev_log_str = %d", udev_log);
 }
 
 void udev_init_config(void)
udevd.c +7 -1
diff -Nru a/udevd.c b/udevd.c
@@ -40,7 +40,6 @@
 #include "udevd.h"
 #include "logging.h"
 
-unsigned char logname[42];
 static int expected_seqnum = 0;
 volatile static int children_waiting;
 volatile static int msg_q_timeout;
@@ -51,6 +50,13 @@
 
 static void exec_queue_manager(void);
 static void msg_queue_manager(void);
+
+unsigned char logname[42];
+
+int log_ok(void)
+{
+	return 1;
+}
 
 static void msg_dump_queue(void)
 {
udevinfo.c +5 -0
diff -Nru a/udevinfo.c b/udevinfo.c
@@ -40,6 +40,11 @@
 int main_argc;
 unsigned char logname[42];
 
+int log_ok(void)
+{
+	return 1;
+}
+
 static int print_all_attributes(const char *path)
 {
 	struct dlist *attributes;
udevsend.c +5 -0
diff -Nru a/udevsend.c b/udevsend.c
@@ -42,6 +42,11 @@
 
 unsigned char logname[42];
 
+int log_ok(void)
+{
+	return 1;
+}
+
 static inline char *get_action(void)
 {
 	char *action;

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#13 lore raw
Quoted 16 lines · Greg KH
Quoted 4 lines · Martin Schlemmer

On Tue, 2004-02-03 at 22:13, Greg KH wrote:

Once again, patch to make logging a config option.

Quoted 10 lines

Reason for this (since you asked for it =):
- In our setup it is easy (although still annoying) .. just edit the ebuild, add logging support (or remove it) and rebuild. For say a binary distro, having the logging is useful for debugging some times, but its more a once of, or rare thing, as you do not add or change config files every day. Sure, we can have logging by default, but many do not want ~300 lines of extra debugging in their logs is not pleasant, and they will complain. Rebuilding the package for that binary package (given the users it is targeted to) is usually not within most users grasp.

Quoted 7 lines

Ok, I applied this patch.

And then I went back and fixed it so it actually would work :(

Here's the changes I had to make to get everything to build properly, and to let us have a boolean type for the config files.

Interest sake ... when did it actually fail? (When linking with klibc maybe? Been using here without problems).

Thanks,

Signature · 1 line
Martin Schlemmer
author
#14 lore raw
Quoted 19 lines · Martin Schlemmer
Quoted 18 lines · Greg KH
Quoted 4 lines · Martin Schlemmer

On Tue, 2004-02-03 at 22:13, Greg KH wrote:

Once again, patch to make logging a config option.

Quoted 10 lines

Reason for this (since you asked for it =):
- In our setup it is easy (although still annoying) .. just edit the ebuild, add logging support (or remove it) and rebuild. For say a binary distro, having the logging is useful for debugging some times, but its more a once of, or rare thing, as you do not add or change config files every day. Sure, we can have logging by default, but many do not want ~300 lines of extra debugging in their logs is not pleasant, and they will complain. Rebuilding the package for that binary package (given the users it is targeted to) is usually not within most users grasp.

Ok, I applied this patch.

Quoted 8 lines
Quoted 5 lines

And then I went back and fixed it so it actually would work :(

Here's the changes I had to make to get everything to build properly, and to let us have a boolean type for the config files.

Interest sake ... when did it actually fail? (When linking with klibc maybe? Been using here without problems).

Did you build udevinfo? udevsend? udevd? None of those files ended up including the udev_log_* variable.

Anyway, it's cleaner this way :)

thanks,

greg k-h

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#15 lore raw
In reply to Greg KH

Now it fails with make -jN where N > 1, whereas the last two worked fine, but then the one before that was broken as well, and off and on (though I failed to report it, then). I'm not canny enough with Makefiles yet to fix this, but I will look into it and see if I can gander what's going wrong.

Here's the error from using multiple make jobs:

gcc -march=athlon-xp -mmmx -mfpmath=sse -msse -m3dnow -pipe -pipe -DLOG -Os -fomit-frame-pointer -D_GNU_SOURCE -Wall -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -I/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include -I/usr/src/udev-016/libsysfs
-c -o udevinfo.o udevinfo.c
udevsend.c: In function `start_daemon':
udevsend.c:94: error: `UDEVD_BIN' undeclared (first use in this function) udevsend.c:94: error: (Each undeclared identifier is reported only once udevsend.c:94: error: for each function it appears in.) udevsend.c: In function `main':
udevsend.c:165: error: `UDEVD_SOCK' undeclared (first use in this function) make[1]: *** [udevsend.o] Error 1
make[1]: *** Waiting for unfinished jobs....
udevd.c: In function `sig_handler':
udevd.c:315: error: `UDEVD_LOCK' undeclared (first use in this function) udevd.c:315: error: (Each undeclared identifier is reported only once udevd.c:315: error: for each function it appears in.)
udevd.c: In function `one_and_only':
udevd.c:329: error: `UDEVD_LOCK' undeclared (first use in this function) udevd.c: At top level:
udevd.c:70: warning: `msg_dump' defined but not used
make[1]: *** [udevd.o] Error 1
make[1]: Leaving directory `/usr/src/udev-016'

-sandalle

Quoting Greg KH <[email protected]>:

Quoted 107 lines

I've released the 016 version of udev. It can be found at:
kernel.org/pub/linux/utils/kernel/hotplug/udev-016.tar.gz

rpms built against Red Hat FC1 are available at:

	kernel.org/pub/linux/utils/kernel/hotplug/udev-016-1.i386.rpm

with the source rpm at:
kernel.org/pub/linux/utils/kernel/hotplug/udev-016-1.src.rpm

udev allows users to have a dynamic /dev and provides the ability to have persistent device names. It uses sysfs and /sbin/hotplug and runs entirely in userspace. It requires a 2.6 kernel with CONFIG_HOTPLUG enabled to run. Please see the udev FAQ for any questions about it:
kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ

For any udev vs devfs questions anyone might have, please see:
kernel.org/pub/linux/utils/kernel/hotplug/udev_vs_devfs

Major changes from the 015 version:
- udev is now in 3 pieces:
udevsend - is called by /sbin/hotplug and bundles up the
hotplug event and sends it off to the udevd daemon.
udevd - receives the hotplug messages from udevsend, sorts
them in the proper order, and runs udev for the different devices.
udev - still the same. Does the actual device node creation
and removal.

This has been one of the major pieces missing for udev, and I really want to thank Kay Sievers for all of his hard work on this.

Right now, udevsend and udev are built against klibc (udevsend is only 2.5Kb big), and udevd is linked dynamically against glibc, due to it using pthreads. This is ok, as udev can still be placed into initramfs and run at early boot, it's only after init starts up that udevsend and udevd will kick in.

Thanks also to everyone who has send me patches for this release, a full list of everyone, and their changes is below.

udev development is done in a BitKeeper repository located at:
bk://linuxusb.bkbits.net/udev

Daily snapshots of udev from the BitKeeper tree can be found at:
http://www.codemonkey.org.uk/projects/bitkeeper/udev/
If anyone ever wants a tarball of the current bk tree, just email me.

thanks,

greg k-h

Summary of changes from v015 to v016
======================

<elkropac:students.zcu.cz>:
o get_dev_number() in extras/ide-devfs.sh

<rrm3:rrm3.org>:
o FAQ udev.rules.devfs

Greg Kroah-Hartman:
o add udevd and udevsend to the spec file
o make /etc/hotplug.d/default/udev.hotplug symlink point to udevsend now
o add KERNEL_DIR option so that the distros will be happy
o make udevsend binary even smaller
o udevsend now almost compiles with klibc, struct sockaddr_un is only
problem now
o fix up logging code so that it can be built without it being enabled
o rework the logging code so that each program logs with the proper name in
the syslog
o remove logging.c as it's no longer needed
o kill the last examples that contained the %D option
o remove a __KLIBC__ tests in libsysfs, as klibc now supports
getpagesize()
o udevd - remove stupid locking error I wrote
o update to klibc version 0.101, fixing the stdin bug
o fix Makefile typo for USE_LSB install
o 015_bk mark
o allow dbus code to actually build again
o v015 release TAG: v015

Kay Sievers:
o let udevsend build with klibc
o udevd - config cleanup
o udevd - cleanup and better timeout handling
o fix possible buffer overflow
o udevd - next round of fixes
o udevinfo - missing options for man page
o udev - trivial style cleanup

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

Signature · 28 lines
PGP Key Fingerprint:  FCFF 26A1 BE21 08F4 BB91  FAED 1D7B 7D74 A8EF DD61
http://search.keyserver.net:11371/pks/lookup?op=get&search=0xA8EFDD61

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/E/IT$ d-- s++:+>: a-- C++(+++) BL++++VIS>$ P+(++) L+++ E-(---) W++ N+@ o?
K? w++++>-- O M-@ V-- PS+(+++) PE(-) Y++(+) PGP++(+) t+() 5++ X(+) R+(++)
tv(--)b++(+++) DI+@ D++(+++) G>+++ e>+++ h---(++) r++ y+
------END GEEK CODE BLOCK------

Eric Sandall                     |  Source Mage GNU/Linux Developer
[email protected]                  |  http://www.sourcemage.org/
http://eric.sandall.us/          |  SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/  #196285  |  http://www.shock.wsu.edu/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
author
#16 lore raw
In reply to Greg KH
Quoted 6 lines · Eric Sandall

Now it fails with make -jN where N > 1, whereas the last two worked fine, but then the one before that was broken as well, and off and on (though I failed to report it, then). I'm not canny enough with Makefiles yet to fix this, but I will look into it and see if I can gander what's going wrong.

Here's the error from using multiple make jobs:

Ah, this patch should fix it. Let me know if it doesn't.

Sorry about that.

greg k-h

# fix up Makefile dependancies for udev_version.h
Makefile +3 -3
diff -Nru a/Makefile b/Makefile
@@ -259,15 +259,15 @@
 	$(LD) $(LDFLAGS) -o $@ $(CRT0) udev.o $(OBJS) $(LIB_OBJS) $(ARCH_LIB_OBJS)
 	$(STRIPCMD) $@
 
-$(HELPER): udevinfo.o $(OBJS) $(HEADERS)
+$(HELPER): $(HEADERS) udevinfo.o $(OBJS)
 	$(LD) $(LDFLAGS) -o $@ $(CRT0) udevinfo.o udev_config.o udevdb.o $(SYSFS) $(TDB) $(LIB_OBJS) $(ARCH_LIB_OBJS)
 	$(STRIPCMD) $@
 
-$(DAEMON): udevd.h udevd.o
+$(DAEMON): udevd.h $(GEN_HEADERS) udevd.o
 	$(LD) $(LDFLAGS) -lpthread -o $@ $(CRT0) udevd.o $(LIB_OBJS) $(ARCH_LIB_OBJS)
 	$(STRIPCMD) $@
 
-$(SENDER): udevd.h udevsend.o
+$(SENDER): udevd.h $(GEN_HEADERS) udevsend.o
 	$(LD) $(LDFLAGS) -o $@ $(CRT0) udevsend.o $(LIB_OBJS) $(ARCH_LIB_OBJS)
 	$(STRIPCMD) $@
 

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#17 lore raw
In reply to Greg KH

Quoting Greg KH <[email protected]>:

Quoted 30 lines

Ah, this patch should fix it. Let me know if it doesn't.

Sorry about that.

greg k-h

# fix up Makefile dependancies for udev_version.h

diff -Nru a/Makefile b/Makefile

Makefile +3 -3
@@ -259,15 +259,15 @@
 	$(LD) $(LDFLAGS) -o $@ $(CRT0) udev.o $(OBJS) $(LIB_OBJS) $(ARCH_LIB_OBJS)
 	$(STRIPCMD) $@
 
-$(HELPER): udevinfo.o $(OBJS) $(HEADERS)
+$(HELPER): $(HEADERS) udevinfo.o $(OBJS)
 	$(LD) $(LDFLAGS) -o $@ $(CRT0) udevinfo.o udev_config.o udevdb.o $(SYSFS)
 $(TDB) $(LIB_OBJS) $(ARCH_LIB_OBJS)
 	$(STRIPCMD) $@
 
-$(DAEMON): udevd.h udevd.o
+$(DAEMON): udevd.h $(GEN_HEADERS) udevd.o
 	$(LD) $(LDFLAGS) -lpthread -o $@ $(CRT0) udevd.o $(LIB_OBJS)
 $(ARCH_LIB_OBJS)
 	$(STRIPCMD) $@
 
-$(SENDER): udevd.h udevsend.o
+$(SENDER): udevd.h $(GEN_HEADERS) udevsend.o
 	$(LD) $(LDFLAGS) -o $@ $(CRT0) udevsend.o $(LIB_OBJS) $(ARCH_LIB_OBJS)
Quoted 1 line

$(STRIPCMD) $@

Fails with patch -p1 < Makefile.patch in udev-016 source directory:

# patch -p1 < /tmp/makefile.patch
sh: line 1: get: command not found
warning: Patching file Makefile, which does not match default SCCS version
patching file Makefile
Hunk #1 FAILED at 259.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
# cat Makefile.rej
***************
*** 259,273 ****
          $(LD) $(LDFLAGS) -o $@ $(CRT0) udev.o $(OBJS) $(LIB_OBJS)
$(ARCH_LIB_OBJS)
          $(STRIPCMD) $@

- $(HELPER): udevinfo.o $(OBJS) $(HEADERS)

          $(LD) $(LDFLAGS) -o $@ $(CRT0) udevinfo.o udev_config.o udevdb.o
$(SYSFS) $(TDB) $(LIB_OBJS) $(ARCH_LIB_OBJS)
          $(STRIPCMD) $@

- $(DAEMON): udevd.h udevd.o

          $(LD) $(LDFLAGS) -lpthread -o $@ $(CRT0) udevd.o $(LIB_OBJS)
$(ARCH_LIB_OBJS)
          $(STRIPCMD) $@

- $(SENDER): udevd.h udevsend.o

          $(LD) $(LDFLAGS) -o $@ $(CRT0) udevsend.o $(LIB_OBJS)
$(ARCH_LIB_OBJS)
          $(STRIPCMD) $@

--- 259,273 ----

          $(LD) $(LDFLAGS) -o $@ $(CRT0) udev.o $(OBJS) $(LIB_OBJS)
$(ARCH_LIB_OBJS)
          $(STRIPCMD) $@

+ $(HELPER): $(HEADERS) udevinfo.o $(OBJS)

          $(LD) $(LDFLAGS) -o $@ $(CRT0) udevinfo.o udev_config.o udevdb.o
$(SYSFS) $(TDB) $(LIB_OBJS) $(ARCH_LIB_OBJS)
          $(STRIPCMD) $@

+ $(DAEMON): udevd.h $(GEN_HEADERS) udevd.o

          $(LD) $(LDFLAGS) -lpthread -o $@ $(CRT0) udevd.o $(LIB_OBJS)
$(ARCH_LIB_OBJS)
          $(STRIPCMD) $@

+ $(SENDER): udevd.h $(GEN_HEADERS) udevsend.o

          $(LD) $(LDFLAGS) -o $@ $(CRT0) udevsend.o $(LIB_OBJS)
$(ARCH_LIB_OBJS)
          $(STRIPCMD) $@
Signature · 28 lines
PGP Key Fingerprint:  FCFF 26A1 BE21 08F4 BB91  FAED 1D7B 7D74 A8EF DD61
http://search.keyserver.net:11371/pks/lookup?op=get&search=0xA8EFDD61

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/E/IT$ d-- s++:+>: a-- C++(+++) BL++++VIS>$ P+(++) L+++ E-(---) W++ N+@ o?
K? w++++>-- O M-@ V-- PS+(+++) PE(-) Y++(+) PGP++(+) t+() 5++ X(+) R+(++)
tv(--)b++(+++) DI+@ D++(+++) G>+++ e>+++ h---(++) r++ y+
------END GEEK CODE BLOCK------

Eric Sandall                     |  Source Mage GNU/Linux Developer
[email protected]                  |  http://www.sourcemage.org/
http://eric.sandall.us/          |  SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/  #196285  |  http://www.shock.wsu.edu/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
author
#18 lore raw
In reply to Greg KH
Quoted 8 lines · Eric Sandall

Fails with patch -p1 < Makefile.patch in udev-016 source directory:

# patch -p1 < /tmp/makefile.patch
sh: line 1: get: command not found
warning: Patching file Makefile, which does not match default SCCS version
patching file Makefile
Hunk #1 FAILED at 259.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej

That's wierd, it works for me:

[tmp]$ tar -zxf udev-016.tar.gz
[tmp]$ cd udev-016
[udev-016]$ patch -p1 -g1 < ../udev-makefile.patch Makefile 1.100: 388 lines
patching file Makefile
[udev-016]$

Did you somehow strip out the tabs in the patch?

thanks,

greg k-h

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#19 lore raw
In reply to Greg KH

Quoting Greg KH <[email protected]>:

Quoted 10 lines

That's wierd, it works for me:

[tmp]$ tar -zxf udev-016.tar.gz
[tmp]$ cd udev-016
[udev-016]$ patch -p1 -g1 < ../udev-makefile.patch Makefile 1.100: 388 lines
patching file Makefile
[udev-016]$

Quoted 5 lines

Did you somehow strip out the tabs in the patch?

thanks,

greg k-h

<sigh>

Yeah, just copy&paste from Firebird put in spaces. I fixed the tabs and it now works with -j2, thanks. :)

-sandalle

Signature · 28 lines
PGP Key Fingerprint:  FCFF 26A1 BE21 08F4 BB91  FAED 1D7B 7D74 A8EF DD61
http://search.keyserver.net:11371/pks/lookup?op=get&search=0xA8EFDD61

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/E/IT$ d-- s++:+>: a-- C++(+++) BL++++VIS>$ P+(++) L+++ E-(---) W++ N+@ o?
K? w++++>-- O M-@ V-- PS+(+++) PE(-) Y++(+) PGP++(+) t+() 5++ X(+) R+(++)
tv(--)b++(+++) DI+@ D++(+++) G>+++ e>+++ h---(++) r++ y+
------END GEEK CODE BLOCK------

Eric Sandall                     |  Source Mage GNU/Linux Developer
[email protected]                  |  http://www.sourcemage.org/
http://eric.sandall.us/          |  SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/  #196285  |  http://www.shock.wsu.edu/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
author
#20 lore raw
In reply to Greg KH
Quoted 3 lines · Marco d'Itri

On Feb 03, Greg KH <[email protected]> wrote:

I'm attaching a trivial patch to remove a warning.

Thanks, Kay already sent me that.

Quoted 2 lines

BTW, udev still takes a long time to start when D-BUS support is enabled.

That's a D-BUS issue, not a udev issue :)

thanks,

greg k-h

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel