Kay Sievers
4cb665e431
085 release
2006-02-15 23:15:27 +01:00
Kay Sievers
4c2d04bd99
include errno.h in udev_libc_wrapper.c
2006-02-15 21:12:49 +01:00
Jeroen Roovers
c779c930f1
fix typo in parisc support to path_id
...
As reported at http://bugs.gentoo.org/show_bug.cgi?id=113379
path_id is still broken for parisc boxes. This patch from
Jeroen Roovers <jer@gentoo.org> fixes that.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-02-15 21:06:19 +01:00
Kay Sievers
515e50555c
update Gentoo rules
2006-02-15 21:03:25 +01:00
Kay Sievers
bee6e24fa9
update Red Hat rules
2006-02-15 20:57:29 +01:00
Kay Sievers
348f9dfa04
update SUSE rules
2006-02-15 20:54:53 +01:00
Kay Sievers
656ba91ee1
exit WAIT_FOR_SYSFS if the whole device goes away
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-02-15 20:43:28 +01:00
Kay Sievers
42878445d7
cramfs detection for bigendian
...
Patch from Olaf Hering <olh@suse.de>.
2006-02-13 06:29:30 +01:00
Kay Sievers
67f69ae17c
include sys/socket.h for klibc build
...
Requested by Aaron Griffin <aaronmgriffin@gmail.com>
2006-02-03 13:52:37 +01:00
Kay Sievers
a2a7f7d7af
fix typo in man page
...
Thanks to Joachim Breitner <nomeata@debian.org>.
2006-02-01 02:08:11 +01:00
Andrey Borzenkov
b3e8c12b2d
Fix trivial spelling errors in RELEASE-NOTES
...
Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
2006-02-01 02:01:12 +01:00
Kay Sievers
f8db897faa
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>
2006-01-31 16:24:22 +01:00
Kay Sievers
66c2bc2120
084 release
2006-01-30 08:51:38 +01:00
Kay Sievers
7e75cfa6fe
add debug output to sysfs operations
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-30 08:39:55 +01:00
Kay Sievers
9538b16d8b
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>
2006-01-29 17:08:44 +01:00
Kay Sievers
34f55103c5
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>
2006-01-29 02:09:35 +01:00
Kay Sievers
3d94fb8742
scsi_id: remove dead files
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-28 16:42:49 +01:00
Kay Sievers
c1979c82e1
whitespace fixes
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-28 16:39:46 +01:00
Kay Sievers
4179809b22
remove UDEVD_UEVENT_INITSEND
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-28 05:04:38 +01:00
Kay Sievers
9de9898813
move manpages to top level
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-28 04:56:24 +01:00
Kay Sievers
1ef985452b
replace fancy silent build program by simple kernel build like logic
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-28 04:44:51 +01:00
Kay Sievers
4942c78cb0
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>
2006-01-27 21:36:29 +01:00
Kay Sievers
a6aa9d70a4
update SUSE rules
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-27 02:17:59 +01:00
Kay Sievers
cef28db9db
083 release
2006-01-27 01:41:07 +01:00
Kay Sievers
2c02716281
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>
2006-01-27 01:40:26 +01:00
Kay Sievers
36af2ddcb9
don't add $SUBSYSTEM automatically as $1 to programs
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-26 04:38:33 +01:00
Kay Sievers
d2f605c8d6
find programs in /lib/udev for IMPORT if {program} is not given
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-26 03:59:13 +01:00
Andrey Borzenkov
f7ed0d113a
check for ignore_device in loop looks redundant
2006-01-26 02:24:13 +01:00
Andrey Borzenkov
864412e02d
man page: document when substitutions are applied for RUN and other keys
2006-01-26 02:18:01 +01:00
Kay Sievers
4cfdeaf3bf
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>
2006-01-26 02:16:58 +01:00
Kay Sievers
1a72d06f7b
082 release
2006-01-25 02:45:48 +01:00
Kay Sievers
37854ffc9a
let "ignore_device" always return the event successfully
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-25 02:21:07 +01:00
Kay Sievers
ad27f5b396
udevtest: add udev_rules_apply_format() to RUN keys
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-25 02:18:13 +01:00
Kay Sievers
a9bd2ed84a
rename apply_format() cause it is public now
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-25 01:28:31 +01:00
Kay Sievers
4a2c3aad07
update SUSE rules
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-24 21:02:30 +01:00
Kay Sievers
c233b59baa
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>
2006-01-24 20:29:37 +01:00
Kay Sievers
0d210b3ad9
recreate man pages from xml source
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-24 20:24:26 +01:00
Kay Sievers
2c769419a1
move udev(8) manpage to udev(7)
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-24 20:21:42 +01:00
Andrey Borzenkov
f5f0c34f6d
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.
2006-01-24 20:10:48 +01:00
Kay Sievers
7d1e179f86
increase kernel uevent buffer size
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-24 12:12:07 +01:00
Kay Sievers
f61f78a76e
don't do RUN if "ignore_device" is given
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-24 03:03:42 +01:00
Kay Sievers
f83cccb979
usb_id: don't fail on other subsytems than "scsi"
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-23 19:09:17 +01:00
Kay Sievers
aabc6a7294
path_id: handle fiber channel
...
Patch from: Hannes Reinecke <hare@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-23 19:08:06 +01:00
Kay Sievers
d8a57e7c26
Makefile: remove dynamic config file generation
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-23 03:24:16 +01:00
Olivier Blin
aaa14841de
fixes udev build with -fpie
...
Add missing includes and environ declaration.
2006-01-20 23:18:23 +01:00
Kay Sievers
0ec819d92b
ignore all messages with missing devpath or action
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-20 02:54:31 +01:00
Kay Sievers
fbc5a2b921
path_id: work with "all devices in /sys/devices"
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-19 04:54:34 +01:00
Kay Sievers
6ecd4d1e36
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>
2006-01-18 04:24:48 +01:00
Kay Sievers
7155bfb7fa
081 release
2006-01-16 06:16:57 +01:00
Kay Sievers
ea48d4d7fb
prepare moving of /sys/class devices to /sys/devices
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-16 06:14:26 +01:00