1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-11-01 00:51:08 +03:00
Commit Graph

1755 Commits

Author SHA1 Message Date
Kay Sievers
0eb9e4a87e volume_id: remove partition table parsing code 2006-03-21 16:02:07 +01:00
Kay Sievers
8a37a3915f add ',' to trusted chars
SGI needs it for some compatibility device names from irix,
xvm volumes use "volname,subvolname" as the default device node.
2006-03-17 01:56:02 +01:00
Kay Sievers
0d5be398ff add udevtrigger to request events for coldplug
The shell script can't handle 1000's of devices.
2006-03-17 01:52:15 +01:00
Kay Sievers
f660222775 correct use of fcntl() 2006-03-16 10:47:31 +01:00
Kay Sievers
3e5e833253 reset signal handler in event process 2006-03-16 10:46:30 +01:00
Kay Sievers
2f567dd62e volume_id: add squashfs detection 2006-03-08 19:44:28 +01:00
Kay Sievers
b2885eeecf 087 release 2006-03-08 00:38:17 +01:00
Kay Sievers
cdce0be895 remove devfs rules and scripts 2006-03-08 00:34:36 +01:00
Kay Sievers
7910248926 warn about %e, MODALIAS, $modalias 2006-03-07 23:20:10 +01:00
Kay Sievers
7b05672ebb fix persistent disk rules to exclude removable IDE drives 2006-03-07 23:19:27 +01:00
Hannes Reinecke
226c074d6d path_id: support SAS devices 2006-03-01 20:07:20 +01:00
Masatake YAMATO
5016ef53f5 typo in debug text in udev_run_hotplugd.c 2006-03-01 20:02:41 +01:00
Kay Sievers
0030441ca4 086 release 2006-02-24 16:59:50 +01:00
Kay Sievers
1a4e5303e0 udevd: fix queue export for multiple events for the same device
Identified by Joachim Plack <jplack@suse.de> while working around
the problem that the device nodes appear and disappear while the
partitiontable is re-read and the application need to waait for an
empty udevd queue.
2006-02-23 20:10:49 +01:00
Kay Sievers
dd8140ae79 volume_id: add missing return 2006-02-21 19:14:43 +01:00
Nix
731f0aec41 update to udev-084/doc/writing_udev_rules 2006-02-21 18:53:25 +01:00
Kay Sievers
ab925d69d5 volume_id: split raid and filesystem detection 2006-02-21 18:48:28 +01:00
Kay Sievers
467546b586 volume_id: replace __packed__ by PACKED macro 2006-02-21 18:44:18 +01:00
Kyle McMartin
5597760367 workaround missing kernel headers for some architectures
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
2006-02-21 17:01:54 +01:00
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