Kay Sievers [Mon, 13 Feb 2006 05:29:30 +0000 (06:29 +0100)]
cramfs detection for bigendian
Patch from Olaf Hering <olh@suse.de>.
Kay Sievers [Fri, 3 Feb 2006 12:52:37 +0000 (13:52 +0100)]
include sys/socket.h for klibc build
Requested by Aaron Griffin <aaronmgriffin@gmail.com>
Kay Sievers [Wed, 1 Feb 2006 01:08:11 +0000 (02:08 +0100)]
fix typo in man page
Thanks to Joachim Breitner <nomeata@debian.org>.
Andrey Borzenkov [Wed, 1 Feb 2006 01:01:12 +0000 (02:01 +0100)]
Fix trivial spelling errors in RELEASE-NOTES
Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
Kay Sievers [Tue, 31 Jan 2006 15:24:22 +0000 (16:24 +0100)]
make WAIT_FOR_SYSFS usable in non "wait-only" rules
Thanks to Andrey Borzenkov <arvidjaar@mail.ru> for noticing this
and the initial patch to fix it.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Mon, 30 Jan 2006 07:51:38 +0000 (08:51 +0100)]
084 release
Kay Sievers [Mon, 30 Jan 2006 07:39:55 +0000 (08:39 +0100)]
add debug output to sysfs operations
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sun, 29 Jan 2006 16:08:44 +0000 (17:08 +0100)]
let SYSFS{} look at the device, not only the parent device
The stricter parent logic broke: BUS=="ide", SYSFS{removable}=="1", ...
cause removable is on the block device, which isn't a ide device.
Just look for matching attributes at the device and the selected parent
device at the same time now.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sun, 29 Jan 2006 01:09:35 +0000 (02:09 +0100)]
optimize sysfs device and attribute cache
Add negative cache for attributes and look for device in cache before doing
any sysfs access. (Three times speed up for a stupid 1000 rules SYSFS file).
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sat, 28 Jan 2006 15:42:49 +0000 (16:42 +0100)]
scsi_id: remove dead files
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sat, 28 Jan 2006 15:39:46 +0000 (16:39 +0100)]
whitespace fixes
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sat, 28 Jan 2006 04:04:38 +0000 (05:04 +0100)]
remove UDEVD_UEVENT_INITSEND
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sat, 28 Jan 2006 03:56:24 +0000 (04:56 +0100)]
move manpages to top level
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sat, 28 Jan 2006 03:44:51 +0000 (04:44 +0100)]
replace fancy silent build program by simple kernel build like logic
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Fri, 27 Jan 2006 20:36:29 +0000 (21:36 +0100)]
switch CROSS to CROSS_COMPILE
This matches what the kernel uses and was a suggestion from:
KRONSTORFER Horst <Horst.KRONSTORFER@frequentis.com>
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Fri, 27 Jan 2006 01:17:59 +0000 (02:17 +0100)]
update SUSE rules
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Fri, 27 Jan 2006 00:41:07 +0000 (01:41 +0100)]
083 release
Kay Sievers [Fri, 27 Jan 2006 00:40:26 +0000 (01:40 +0100)]
remove redundant substitution of RUN key
Thanks to Andrey Borzenkov <arvidjaar@mail.ru> for the initial patch.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Thu, 26 Jan 2006 03:38:33 +0000 (04:38 +0100)]
don't add $SUBSYSTEM automatically as $1 to programs
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Thu, 26 Jan 2006 02:59:13 +0000 (03:59 +0100)]
find programs in /lib/udev for IMPORT if {program} is not given
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Andrey Borzenkov [Thu, 26 Jan 2006 01:24:13 +0000 (02:24 +0100)]
check for ignore_device in loop looks redundant
Andrey Borzenkov [Thu, 26 Jan 2006 01:18:01 +0000 (02:18 +0100)]
man page: document when substitutions are applied for RUN and other keys
Kay Sievers [Thu, 26 Jan 2006 01:16:58 +0000 (02:16 +0100)]
udevstart: fix NAME="" which prevents RUN from being executed
Thanks to Olivier Blin <oblin@mandriva.com> for finding this.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Wed, 25 Jan 2006 01:45:48 +0000 (02:45 +0100)]
082 release
Kay Sievers [Wed, 25 Jan 2006 01:21:07 +0000 (02:21 +0100)]
let "ignore_device" always return the event successfully
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Wed, 25 Jan 2006 01:18:13 +0000 (02:18 +0100)]
udevtest: add udev_rules_apply_format() to RUN keys
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Wed, 25 Jan 2006 00:28:31 +0000 (01:28 +0100)]
rename apply_format() cause it is public now
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Tue, 24 Jan 2006 20:02:30 +0000 (21:02 +0100)]
update SUSE rules
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Tue, 24 Jan 2006 19:29:37 +0000 (20:29 +0100)]
remove udev, udevstart, udevsend from the default installation
They still get compiled and are used for the test program, but
everything should just work with the daemon and the kernel
"uevent" triggers these days.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Tue, 24 Jan 2006 19:24:26 +0000 (20:24 +0100)]
recreate man pages from xml source
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Tue, 24 Jan 2006 19:21:42 +0000 (20:21 +0100)]
move udev(8) manpage to udev(7)
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Andrey Borzenkov [Tue, 24 Jan 2006 19:10:48 +0000 (20:10 +0100)]
substitute format chars in RUN after rule matching
Apply substitutions before running a program, not while the rule
is parsed. It allows to use environment variables set during rule
processing as command arguments.
Kay Sievers [Tue, 24 Jan 2006 11:12:07 +0000 (12:12 +0100)]
increase kernel uevent buffer size
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Tue, 24 Jan 2006 02:03:42 +0000 (03:03 +0100)]
don't do RUN if "ignore_device" is given
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Mon, 23 Jan 2006 18:09:17 +0000 (19:09 +0100)]
usb_id: don't fail on other subsytems than "scsi"
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Mon, 23 Jan 2006 18:08:06 +0000 (19:08 +0100)]
path_id: handle fiber channel
Patch from: Hannes Reinecke <hare@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Mon, 23 Jan 2006 02:24:16 +0000 (03:24 +0100)]
Makefile: remove dynamic config file generation
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Olivier Blin [Fri, 20 Jan 2006 22:18:23 +0000 (23:18 +0100)]
fixes udev build with -fpie
Add missing includes and environ declaration.
Kay Sievers [Fri, 20 Jan 2006 01:54:31 +0000 (02:54 +0100)]
ignore all messages with missing devpath or action
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Thu, 19 Jan 2006 03:54:34 +0000 (04:54 +0100)]
path_id: work with "all devices in /sys/devices"
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Wed, 18 Jan 2006 03:24:48 +0000 (04:24 +0100)]
scsi_id, usb_id: request device parent by subsystem
Request specific parents identified by subsystem and don't rely on
a predefined sequence.
Also let the devpath be longer than 72 chars, tsss ...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Mon, 16 Jan 2006 05:16:57 +0000 (06:16 +0100)]
081 release
Kay Sievers [Mon, 16 Jan 2006 05:14:26 +0000 (06:14 +0100)]
prepare moving of /sys/class devices to /sys/devices
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Mon, 16 Jan 2006 05:12:49 +0000 (06:12 +0100)]
fix BUS, ID, $id usage
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Fri, 13 Jan 2006 12:18:41 +0000 (13:18 +0100)]
vol_id: probe volume as user nobody
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Fri, 13 Jan 2006 12:17:10 +0000 (13:17 +0100)]
better log test and comments
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Tue, 10 Jan 2006 12:19:53 +0000 (13:19 +0100)]
add DEVLINKS to "remove" event
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Mon, 9 Jan 2006 20:30:04 +0000 (21:30 +0100)]
080 release
Kay Sievers [Mon, 9 Jan 2006 20:18:00 +0000 (21:18 +0100)]
replace libsysfs
We never used any of the libsysfs convenience features. Here we replace
it completely with 300 lines of code, which are much simpler and a bit
faster cause udev(d) does not open any syfs file for a simple event which
does not need any parent device information.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Mon, 9 Jan 2006 20:17:24 +0000 (21:17 +0100)]
path_id: fix invalid character class
Thanks to Marco for the _right_ fix.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
coly [Mon, 9 Jan 2006 19:58:20 +0000 (20:58 +0100)]
fix man page typos
Kay Sievers [Thu, 29 Dec 2005 03:25:49 +0000 (04:25 +0100)]
update SUSE rules
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Thu, 29 Dec 2005 03:24:15 +0000 (04:24 +0100)]
update TODO
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Thu, 29 Dec 2005 03:02:24 +0000 (04:02 +0100)]
fix typo in man page
Thanks to Frans Pop for the "patch".
Kay Sievers [Thu, 29 Dec 2005 02:51:24 +0000 (03:51 +0100)]
update RELEASE-NOTES + TODO
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Brent Cook [Thu, 29 Dec 2005 02:42:38 +0000 (03:42 +0100)]
fix dependency for make -j2
Marco d'Itri [Mon, 26 Dec 2005 16:21:25 +0000 (17:21 +0100)]
udev_selinux.c: include udev.h
Kay Sievers [Thu, 22 Dec 2005 23:51:30 +0000 (00:51 +0100)]
079 release
Kay Sievers [Thu, 22 Dec 2005 23:49:02 +0000 (00:49 +0100)]
remove %e from man page
Simple %e enumerations never worked reliably outside of udevstart and
udevstart is no longer recommended to use.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Thu, 22 Dec 2005 23:13:34 +0000 (00:13 +0100)]
update SUSE rules
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Thu, 22 Dec 2005 23:06:54 +0000 (00:06 +0100)]
scsi_id: read page 0x80 with libata drives
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Thu, 22 Dec 2005 16:29:20 +0000 (17:29 +0100)]
use udev_root instead of "/dev"in selinux matchpathcon_init_prefix()
Taken from Red Hat CVS:
udev-075-selinux.patch
Kay Sievers [Tue, 20 Dec 2005 10:23:08 +0000 (11:23 +0100)]
don't log error if database does not exist
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sat, 17 Dec 2005 15:40:29 +0000 (16:40 +0100)]
078 release
Kay Sievers [Sat, 17 Dec 2005 15:20:51 +0000 (16:20 +0100)]
add DEVLINKS to the event environment
Multiple symlinks are separated by a space character.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Fri, 16 Dec 2005 23:27:19 +0000 (00:27 +0100)]
clearenv() is now part of klibc
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Fri, 16 Dec 2005 20:16:32 +0000 (21:16 +0100)]
remove default settings in udev.conf
Changing the default values in udev.conf will render allmost
all current systems unusable. So just remove the settings that
can't be changed anyway.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Fri, 16 Dec 2005 20:00:14 +0000 (21:00 +0100)]
remove unused variables
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Thu, 15 Dec 2005 15:05:37 +0000 (16:05 +0100)]
update SUSE rules
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Thu, 15 Dec 2005 14:56:50 +0000 (15:56 +0100)]
fix segfaulting create_floppy_devices
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kurt Garloff [Thu, 15 Dec 2005 12:01:01 +0000 (13:01 +0100)]
support pre-SPC3 page 83 format
Kay Sievers [Thu, 15 Dec 2005 11:30:25 +0000 (12:30 +0100)]
allow C99 statements
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Hannes Reinecke [Thu, 15 Dec 2005 11:22:42 +0000 (12:22 +0100)]
fold multiple consecutive whitespace chars into single '_'
Kay Sievers [Wed, 7 Dec 2005 22:25:51 +0000 (23:25 +0100)]
Merge kernel.org:/pub/scm/linux/hotplug/udev
Greg Kroah-Hartman [Wed, 7 Dec 2005 22:00:05 +0000 (14:00 -0800)]
add parisc support to path_id
As reported at http://bugs.gentoo.org/show_bug.cgi?id=113379 path_id
doesn't work too well for parisc boxes. This patch from Jeroen Roovers
<jer@gentoo.org> fixes that.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Greg Kroah-Hartman [Wed, 7 Dec 2005 21:59:32 +0000 (13:59 -0800)]
Update Gentoo udev main rule file.
Kay Sievers [Wed, 7 Dec 2005 19:40:38 +0000 (20:40 +0100)]
update README
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Harald Hoyer [Tue, 6 Dec 2005 18:00:40 +0000 (19:00 +0100)]
optimize SELinux path match
Kay Sievers [Sun, 4 Dec 2005 02:01:48 +0000 (03:01 +0100)]
077 release
Kay Sievers [Sun, 4 Dec 2005 01:52:57 +0000 (02:52 +0100)]
update Red Hat rules
Kay Sievers [Sun, 4 Dec 2005 01:31:38 +0000 (02:31 +0100)]
add target to to generate ChangeLog section
I can't remember that magic sequence...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sun, 4 Dec 2005 00:48:53 +0000 (01:48 +0100)]
update SUSE rules
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Sat, 3 Dec 2005 17:55:51 +0000 (18:55 +0100)]
allow programs in /lib/udev called without the path
RUN="firmware.sh" should work like RUN="/lib/udev/firmware.sh"
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Marco d'Itri [Fri, 25 Nov 2005 18:35:26 +0000 (19:35 +0100)]
update Debian rules
Kay Sievers [Fri, 25 Nov 2005 18:30:33 +0000 (19:30 +0100)]
update SUSE rules
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Fri, 25 Nov 2005 18:13:28 +0000 (19:13 +0100)]
update RELEASE-NOTES
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Fri, 25 Nov 2005 18:03:16 +0000 (19:03 +0100)]
move SEQNUM event skipping to udevsend
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Marco d'Itri [Fri, 25 Nov 2005 18:02:25 +0000 (19:02 +0100)]
let udevsend ignore events with SEQNUM set
Using syslog from udevsend for error logging when the daemon is not
running, causes vc events and an udev event loop.
Marco d'Itri [Fri, 25 Nov 2005 17:56:06 +0000 (18:56 +0100)]
allow to overwrite the configured udev_root by exporting UDEV_ROOT
Kay Sievers [Fri, 25 Nov 2005 17:50:42 +0000 (18:50 +0100)]
remove outdated and misleading stuff
Packagers who still need this, should carry it in their own
package. It just causes too much trouble to users to have it
in the tree and expect that it's needed or the way to do it.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Thu, 24 Nov 2005 19:06:51 +0000 (20:06 +0100)]
don't return an error, if "ignore_device" is used
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Thu, 24 Nov 2005 19:06:22 +0000 (20:06 +0100)]
merge two consecutive static strlcat's
Thanks for Marco, who noticed it.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Tue, 22 Nov 2005 16:34:55 +0000 (17:34 +0100)]
076 release
Kay Sievers [Tue, 22 Nov 2005 16:31:38 +0000 (17:31 +0100)]
move some helpers from extras to /lib/udev
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Scott James Remnant [Tue, 22 Nov 2005 15:33:25 +0000 (16:33 +0100)]
Makefile: fail, if submake fails
Scott James Remnant [Tue, 22 Nov 2005 14:49:49 +0000 (15:49 +0100)]
clean-up empty queue directories
This allows scripts to do:
while test -d /dev/.udev/queue; do sleep 0.1; done
And don't create a failed symlink if there is another event
for the same devpath in the queue.
Scott James Remnant [Tue, 22 Nov 2005 14:44:02 +0000 (15:44 +0100)]
move delete_path() to utils
Kay Sievers [Mon, 21 Nov 2005 17:28:56 +0000 (18:28 +0100)]
libvolume_id: fix weird fat volume recognition
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Thu, 17 Nov 2005 17:53:53 +0000 (18:53 +0100)]
udevd: add a missing return
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Kay Sievers [Thu, 17 Nov 2005 17:50:47 +0000 (18:50 +0100)]
don't start udevd from udevsend
Doesn't make any sense these days to let the kernel start
the daemon.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>