Commit graph

1906 commits

Author SHA1 Message Date
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
Anssi Hannula e37938510a add joystick support to persistent input rules 2006-08-11 16:40:20 +02:00
Kay Sievers eb1f908a2b move default rules to etc/udev/rules.d/ 2006-08-11 14:48:38 +02:00
Kay Sievers 4699afe1fd update SUSE rules 2006-08-11 14:39:13 +02:00
Kay Sievers fef35cc846 update frugalware rules 2006-08-10 14:26:18 +02:00
Kay Sievers f051e34069 udevd: autotune max_childs/max_childs_running 2006-08-10 12:50:53 +02:00
Piter PUNK a77f74dd93 update slackware rules 2006-08-08 18:10:16 +02:00
Kay Sievers 15c02d46f5 update README 2006-08-07 03:13:27 +02:00
Kay Sievers 9824e9a764 udevd: remove useless udevinitsend parameter 2006-08-05 19:18:41 +02:00
Kay Sievers 239cc98b80 initialize unused sockets to -1 2006-08-05 13:24:05 +02:00
Kay Sievers b3518c16e3 rename udevcontrol message types and variables 2006-08-05 13:22:44 +02:00
Kay Sievers e62fea3513 report failing getpwnam/getgrnam as error 2006-08-05 04:59:25 +02:00
Kay Sievers 05ec6e7507 switch ifdef __KLIBC__ to ifndef __GLIBC__ 2006-08-05 00:35:05 +02:00
Kay Sievers eb82b76ded libvolume_id: read ufs2 label
Taken from the FreeBSD HAL repository.
2006-08-05 00:02:58 +02:00
Kay Sievers b5adfb4f33 Makefile: fix dependency 2006-08-05 00:00:15 +02:00
Kay Sievers 22f5934a85 udevinfo: add DRIVER== 2006-07-30 15:54:28 +02:00
Kay Sievers 55c1768ca1 refresh vol_id man page 2006-07-29 02:13:42 +02:00
Kay Sievers 660508cdcb man pages: work around xmlto which tries to be smart 2006-07-29 02:08:58 +02:00
Kay Sievers 21dabee8a7 man pages: replace 'device-path' by 'devpath' 2006-07-29 01:48:11 +02:00
Marco d'Itri 1d569d17b2 path_id: fix an harmless syntax error 2006-07-29 01:01:21 +02:00
Marco d'Itri e861e01341 make rename_netif() error messages useful 2006-07-29 01:00:16 +02:00
Richard Purdie 353b00edbc Fix inotify syscalls on ARM
This patch fixes the inotify syscalls on ARM so they work. It uses
__NR_SYSCALL_BASE from the libc headers (via sys/syscall.h) as this
value depends on which ABI you're using and trying to work that out gets
complicated.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
2006-07-27 10:53:11 +02:00
Kay Sievers cdf1894863 libvolume_id: add parameter 'size' to all probe functions 2006-07-25 14:59:50 +02:00
Kay Sievers b437ec958a remove 'static' from local variable 2006-07-25 14:45:09 +02:00
Kay Sievers aa0b70530c use "change" instead of "online" events
The kernel driver may send "change" to signify a device state
change and udev can possibly recreate symlinks.
2006-07-21 22:31:58 +02:00