1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 16:59:03 +03:00
Commit Graph

1545 Commits

Author SHA1 Message Date
Kay Sievers
c609f627fa thread unknown ENV{key} match as empty value
This way we can run a rule if a certain key is not set by:
  ENV{key}="" or ENV{key}!="?*"

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-16 05:50:34 +02:00
Greg KH
8365854ccd 063 release 2005-07-14 16:09:21 -07:00
Greg KH
0de3c3edeb add 'make tests' as I'm always typing that one wrong...
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-07-14 15:27:30 -07:00
Greg KH
04b90b7e25 Really commit the udev_run_devd changes... 2005-07-14 15:24:59 -07:00
Greg KH
78e21e3ed4 Fixed udev_run_devd to run the /etc/dev.d/DEVNAME/ files too
Note, this assumes that you are putting your device nodes in /dev/, the
better thing to do is use the RUN= rule and not rely on this program at all.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-07-14 15:19:37 -07:00
Greg KH
39e54555a9 Merge gregkh@ehlo.org:/home/kay/public_html/pub/scm/linux/hotplug/udev-kay 2005-07-14 14:13:34 -07:00
Ville Skyttä
7fe082a8a4 correct default mode documentation in udev 2005-07-14 11:43:05 +02:00
Anton Farygin
8cf97fb046 fix typo in GROUP value application 2005-07-14 11:39:55 +02:00
Kay Sievers
b0f57eb066 volume_id: remove s390 dasd handling, it is dasd_id now
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-13 12:01:53 +02:00
Hannes Reinecke
15e5209b8e dasd_id: add s390 disk-label prober
Signed-off-by: Hannes Reinecke <hare@suse.de>
2005-07-13 11:35:51 +02:00
Kay Sievers
5f84d7264d trivial fixes for *_id programs
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-13 11:23:21 +02:00
Greg KH
afd6b4acc8 fix position of raw rules in gentoo config file
this solve issue of raw1394 device nodes showing up in the proper place.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-07-12 15:46:54 -07:00
Kay Sievers
0bfb84e1ed IMPORT: add {parent} to import the persistent data of the parent device
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-12 14:46:36 +02:00
Kay Sievers
0cd4ac473a allow multiple values to be matched with KEY=="value1|value2"
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-12 12:52:56 +02:00
Kay Sievers
cbbde2ba6c udevd: set incoming socket buffer SO_RCVBUF to maximum
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-12 11:44:51 +02:00
Kay Sievers
ef520ba25f remember mapped rules state
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-12 11:42:39 +02:00
Kay Sievers
e03bce6321 ata_id: check for empty serial number
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-12 11:41:09 +02:00
Kay Sievers
4431072fb8 compile dasd only on s390
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-12 11:39:56 +02:00
Hannes Reinecke
b4a2906bf1 fix usb_id and let scsi_id ignore "illegal request" 2005-07-08 03:29:19 +02:00
Greg Kroah-Hartman
face198a5f 062 release 2005-07-07 15:00:50 -07:00
Kay Sievers
7b2bdb4b1b fix symlink values separated by multiple spaces
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-07 23:43:13 +02:00
Kay Sievers
97c0448d9a update RELEASE-NOTES
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-07 23:01:04 +02:00
Kay Sievers
a72e3f666b fix typo in group assignment
Thanks to: Georgi Georgiev
2005-07-07 22:40:09 +02:00
Kay Sievers
613ffbeb15 fix default-name handling and NAME="" rules
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-07 22:32:48 +02:00
Kay Sievers
b2fe4b9ac9 add WAIT_FOR_SYSFS key to loop until a file in sysfs arrives
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-07 20:05:51 +02:00
Kay Sievers
5f79d72c43 fix unquoted strings in udevinitsend
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-07 16:02:03 +02:00
Greg Kroah-Hartman
a82f23bf96 061 release 2005-07-06 14:24:08 -07:00
Greg KH
831139235e Merge gregkh@ehlo.org:/home/kay/public_html/pub/scm/linux/hotplug/udev-kay 2005-07-06 13:52:14 -07:00
Kay Sievers
133dd3ce33 update RELEASE-NOTES
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-06 22:17:06 +02:00
Greg Kroah-Hartman
0cc976eeaf fix cdrom symlink problem in gentoo rules 2005-07-06 13:15:23 -07:00
Greg KH
040e26dc99 Sync up the Debian rules files 2005-07-06 13:09:05 -07:00
Kay Sievers
1196e46c33 we want to provide OPTFLAGS
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-06 21:36:21 +02:00
Kay Sievers
8815afa1df rename ALARM_TIMEOUT to UDEV_ALARM_TIMEOUT
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-06 14:42:26 +02:00
Kay Sievers
ebfc1acd48 udevd: optimize env-key parsing
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-06 02:02:05 +02:00
Kay Sievers
2858b86c6a don't resolve OWNER, GROUP on precompile if string contains %, $
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-06 02:01:16 +02:00
Kay Sievers
f41951c840 set default device node to /dev
Using prefix seems pretty useless and the empty /udev
with every "make install" is annoying.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-06 01:44:34 +02:00
Kay Sievers
25103c4849 create udevdb files only if somehting interesting happened
Device nodes created with the default rule, without any symlink or option
are no longer saved to the udevdb. This saves us ~3 MB RAM for pretty much
useless files on tmpfs.
Note: HAL needs a fix to handle this correctly. It's already available on
the list.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-05 22:40:42 +02:00
Kay Sievers
8bd41f36f7 pack parsed rules list
This cuts down our 600 rules file to 98 kb instead of 1.9 Mb memory
or file-size with precompiled rules.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-05 15:24:41 +02:00
Kay Sievers
6369839195 replace useless defines by inline text
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-04 20:42:04 +02:00
Kay Sievers
a0e5382d66 move rule matches to function
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-04 19:44:25 +02:00
Kay Sievers
7618e112b4 add usb_id program to generate usb-storage device identifiers
Signed-off-by: Hannes Reinecke <hare@suse.de>
2005-07-04 17:02:25 +02:00
Kay Sievers
8deae6aa34 add IEEE1394 rules to the gentoo rule file 2005-07-03 16:11:17 +02:00
Kay Sievers
c44563817a fake also kernel-name if we renamed a netif
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-03 14:32:22 +02:00
Kay Sievers
ffd5c68937 allow OPTIONS to be recognized for /sys/modules /sys/devices events
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-03 14:31:17 +02:00
Kay Sievers
7c26d9eb43 switch gentoo rules to new operators
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-07-03 14:01:48 +02:00
Greg KH
46763d59dc Fix ChangeLog titles 2005-07-02 23:55:38 -07:00
Greg KH
281c368b8f 060 release 2005-07-02 23:55:08 -07:00
Kay Sievers
66f74a2d14 [PATCH] Keep udevstart from skipping devices without a 'dev' file 2005-07-02 23:50:48 -07:00
Greg KH
1fcc2a36fd Fix the gentoo udev rules to allow the box to boot properly 2005-07-02 23:47:43 -07:00
Gustavo Zacarias
3cf745e128 [PATCH] Udev doesn't properly build with $CROSS
Patch attached - basically you're always invoking klcc for the udev
build itself, but klibc builds $(CROSS)klcc.
Thus static cross builds don't work.
2005-07-01 12:45:06 -07:00