1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 23:51:28 +03:00
Commit Graph

1824 Commits

Author SHA1 Message Date
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
Kay Sievers
03b24b71e0 fix BUS, ID, $id usage
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-16 06:12:49 +01:00
Kay Sievers
e3440f37f0 vol_id: probe volume as user nobody
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-13 13:18:41 +01:00
Kay Sievers
d548032795 better log test and comments
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-13 13:17:10 +01:00
Kay Sievers
afe9f2fb5f add DEVLINKS to "remove" event
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-10 13:19:53 +01:00
Kay Sievers
8531b0b964 080 release 2006-01-09 21:30:04 +01:00
Kay Sievers
1aa1e24848 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>
2006-01-09 21:18:00 +01:00
Kay Sievers
47fbf3c582 path_id: fix invalid character class
Thanks to Marco for the _right_ fix.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-09 21:17:24 +01:00
coly
309d6fd302 fix man page typos 2006-01-09 20:58:20 +01:00
Kay Sievers
33d062d746 update SUSE rules
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-29 04:25:49 +01:00
Kay Sievers
22f29307ff update TODO
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-29 04:24:15 +01:00
Kay Sievers
fabd8709fb fix typo in man page
Thanks to Frans Pop for the "patch".
2005-12-29 04:02:24 +01:00
Kay Sievers
3e0f8812f8 update RELEASE-NOTES + TODO
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-29 03:51:24 +01:00