Kay Sievers
051445e078
udevd: use files instead of symlinks for /dev/.udev/queue,failed
2006-09-03 04:44:33 +02:00
Kay Sievers
11f1bb5ab4
udevinfo: use long options
2006-09-03 04:05:20 +02:00
Kay Sievers
a44a30f664
udevtrigger: remove unused longindex
2006-09-03 03:36:20 +02:00
Kay Sievers
fc89fe7edf
udevtrigger: options to filter by subsystem and sysfs attribute
2006-09-03 03:04:20 +02:00
Kay Sievers
3c2081fcb7
update TODO
2006-09-02 14:26:44 +02:00
Kay Sievers
7b08597467
udevtest: print header that ENV{} can't work
2006-08-28 02:38:53 +02:00
Kay Sievers
27b77df44d
update source file headers
2006-08-28 00:29:11 +02:00
Marco d'Itri
b83b299141
run_program: close pipe fd's which are connected to child process
...
When udev_log="debug", the children of udev inherit the file
descriptors of the pipes used to capture output. If they are not
properly closed then udev will not exit until all programs started
in the background by the children are terminated or have closed the
fds themselves, and this may cause deadlocks with udevsettle.
2006-08-27 02:53:16 +02:00
Marco d'Itri
a1e6bd93d3
update Debian rules
2006-08-27 02:28:31 +02:00
Kay Sievers
5780be9eab
rename major/minor variable to maj/min to avoid warning
2006-08-24 10:25:34 +02:00
Kay Sievers
cea61f5c03
use fnmatch() instead of our own pattern match code
2006-08-24 09:03:15 +02:00
Kay Sievers
34bb5d057c
udev_db.c: include <sys/stat.h>
2006-08-24 00:13:07 +02:00
Kay Sievers
56f914e63b
098 release
2006-08-23 01:32:25 +02:00
Marco d'Itri
49e7f5a05f
update Debian rules
2006-08-23 01:20:56 +02:00
Marco d'Itri
2f64aa4056
fix rc when using udev --daemon
2006-08-22 23:20:15 +02:00
Kay Sievers
02adc0cbd6
man: add ATTR{file}="value" assignment
2006-08-21 02:39:22 +02:00
Kay Sievers
e3e7358137
db: don't create a db file for only a node name to store
2006-08-21 02:38:48 +02:00
Kay Sievers
e3396a2d38
cleanup commandline argument handling
...
Print and log failure, but don't fail for tools which are
usually not used iteractively. Add '--help' to all tools.
2006-08-21 02:38:20 +02:00
Kay Sievers
c4edd0adb5
use new key names in test programs
2006-08-20 19:11:32 +02:00
Kay Sievers
8bb39322f0
always expect KEY{value} on ATTR, ATTRS, ENV keys
2006-08-20 19:08:37 +02:00
Kay Sievers
3a020a85da
remove built-in /etc/passwd /etc/group parser
2006-08-20 18:25:57 +02:00
Kay Sievers
5c51e31e0e
vol_id: use primary group of 'nobody' instead of 'nogroup'
...
This fixes a Fedora issue not having the group 'nogroup'.
2006-08-20 18:24:34 +02:00
Kay Sievers
708cb35941
volume_id: add suspend partition detection
...
Based on a patch from:
Scott James Remnant <scott@ubuntu.com>
2006-08-20 18:23:48 +02:00
Kay Sievers
04cc3a81d0
udevtrigger: add --retry-failed
2006-08-20 18:22:44 +02:00
Marco d'Itri
3770f6093f
fix 'unknow user' error from getpwnam/getgrnam
2006-08-20 18:21:50 +02:00
Kay Sievers
c472055c90
fix typo in SUBSYSTEMS key parsing
2006-08-20 18:20:55 +02:00
Kay Sievers
220dac4c5e
export DRIVER for older kernels as a replacement for PHYSDEVDRIVER
2006-08-20 18:19:08 +02:00
Kay Sievers
775f5e3587
update default rules
2006-08-20 18:18:24 +02:00
Kay Sievers
a990821d93
update SUSE rules
2006-08-20 18:17:58 +02:00
Kay Sievers
d0c8cb7d9c
introduce ATTR{file}="value" to set sysfs attributes
2006-08-20 18:16:27 +02:00
Kay Sievers
38895e573c
skip rule, if too may keys of the same type are used
2006-08-20 18:15:29 +02:00
Kay Sievers
95776dc6ec
consistent key naming to match only the event device or include all parent devices
...
This scheme is more consistent and makes it obvious if a match happens
against the event device only, or the full chain of parent devices.
The old key names are now:
BUS -> SUBSYSTEMS
ID -> KERNELS
SYSFS -> ATTRS
DRIVER -> DRIVERS
Match keys for the event device:
KERNEL
SUBSYSTEM
ATTR
DRIVER (in a future release, for now the same as DRIVERS)
Match keys for all devices along the parent device chain:
KERNELS
SUBSYSTEMS
ATTRS
DRIVERS
ID, BUS, SYSFS are no longer mentioned in the man page but still work.
DRIVER must be converted to DRIVERS to match the new scheme. For now,
an error is logged, if DRIVER is used. In a future release, the DRIVER
key behaviour will change.
2006-08-19 16:06:25 +02:00
Harald Hoyer
eef7c9a385
selinux: init once in the daemon, not in every event process
2006-08-18 03:47:59 +02:00
Kay Sievers
36dddd1ca4
lookup_user, lookup_group: report "unknown user" and "lookup failed"
...
Patch from Marco, but both cases are reported as an error.
2006-08-18 03:15:26 +02:00
Kay Sievers
2362eea601
udevinfo, udevtest: simplify '/sys' stripping from devpath argument
2006-08-18 02:33:46 +02:00
Kay Sievers
1aa0c52b44
udevinfo: allow -a -n <node>
2006-08-18 02:31:37 +02:00
Kay Sievers
554dde8e9a
db: store devpath - node relationship for all devices
...
If we don't have any interesting values to store, we just use
a symlink (doesn't occupy a whole page on tmpfs like a file)
to store the name of the node belonging to a devpath. This will
allow udevinfo to resolve all names, even when we don't have a
full database entry.
2006-08-18 02:27:16 +02:00
Alex Merry
878b47da74
udevtest: allow /sys in the devpath paramter
2006-08-17 21:14:45 +02:00
Michał Bartoszkiewicz
33a570f38b
man pages: fix typos
2006-08-17 00:58:37 +02:00
Kay Sievers
dbd16d2684
rename udev_libc_wrapper -> udev_sysdeps
2006-08-16 02:04:04 +02:00
Lennart Poettering
aa9a49b4b3
volume_id: fix fat32 cluster chain traversal
2006-08-15 23:53:14 +02:00
Kay Sievers
226b969271
man page: fix typo
2006-08-15 19:38:13 +02:00
Kay Sievers
469aa1df95
udevd: remove huge socket buffer on the control socket
2006-08-15 00:00:16 +02:00
Kay Sievers
be31371fbb
097 release
2006-08-13 05:34:05 +02:00
Kay Sievers
254efc14a4
udevd: read DRIVER from the environment
2006-08-13 05:32:09 +02:00
Kay Sievers
258e77a555
update SUSE rules
2006-08-13 04:24:40 +02:00
Kay Sievers
d4ae9925ee
don't report an error on overlong comment lines
2006-08-13 04:23:16 +02:00
Kay Sievers
9a8ad783a4
update Fedora rules
2006-08-13 04:22:21 +02:00
Kay Sievers
d146fa8f72
add late.rules to default rules
2006-08-11 16:41:52 +02:00
Kay Sievers
6afe0d7486
add 'crypto' devices to persistent storage rules
2006-08-11 16:41:15 +02:00