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
Marco d'Itri
a105fe495b
[PATCH] #define NETLINK_KOBJECT_UEVENT
...
On many systems the system kernel headers are not recent enough to
compile udev.
2005-07-01 12:42:07 -07:00
Greg Kroah-Hartman
4d8c16072a
059 release
2005-06-30 16:27:52 -07:00
Greg Kroah-Hartman
f943722e0a
Update the gentoo rule file
2005-06-30 16:26:43 -07:00
Kay Sievers
be0856c841
prepare RELEASE-NOTES
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-30 21:50:22 +02:00
Kay Sievers
aaff09a30a
add ID_TYPE to the id probers
...
Export the type of device from ata_id and scsi_id, also strip
leading and trailing whitespace and substitute consecutive
whitespace with a single underline char.
From: Hannes Reinecke <hare@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-27 17:04:56 +02:00
Kay Sievers
34129109a1
add -x to scsi_id to export the queried values in env format
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-27 02:51:49 +02:00
Kay Sievers
b8476286d6
store the imported device information in the udevdb
...
Any program can query with udevinfo for persistent device
attributes evaluated on device discovery now.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-26 18:55:24 +02:00
Kay Sievers
208f6aba21
rename udev_volume_id to vol_id and add --export option
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-26 01:54:47 +02:00
Kay Sievers
670e470543
add ata_id to read serial numbers from ATA drives
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-25 23:54:28 +02:00
Kay Sievers
319c670016
IMPORT allow to import program returned keys into the env
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-25 18:58:49 +02:00
Kay Sievers
be4bedd16b
unify execute_command() and execute_program()
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-25 15:35:14 +02:00
Kay Sievers
bd0ed2ffbe
IMPORT=<file> allow to import a shell-var style config-file
...
This allows to source-in a file into the udev environment to have
the defined keys available for later processing by udev itself or
the forked helper programs.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-25 13:10:16 +02:00
Kay Sievers
6bf0ffe8fd
allow rules to be compiled to one binary file
...
All the rule files can be compiled into a single file,
which can be mapped into the udev process to avoid parsing
the rules with every event.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-24 18:05:32 +02:00
Kay Sievers
c9b8dbfb65
fix the fix and change the file to wait for to the "bus" link
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-22 02:11:59 +02:00
Greg KH
972d318a31
Merge gregkh@ehlo.org:/home/kay/public_html/pub/scm/linux/hotplug/udev-kay
2005-06-21 16:36:29 -07:00
Kay Sievers
d27d3bb052
fix udevstart and let all events trvel trough udev
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-22 01:31:24 +02:00
Kay Sievers
bf5d296473
prepare for module loading rules and add MODALIAS key
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-20 00:29:38 +02:00
Kay Sievers
57663b364b
remove device node, when type block/char has changed
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-18 10:57:10 +02:00