Commit graph

8 commits

Author SHA1 Message Date
Kay Sievers 27b77df44d update source file headers 2006-08-28 00:29:11 +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 fa33d857e2 don't remove symlinks if they are already there
Consecutive "add" events will not remove and recreate the same symlinks
anymore. No longer valid links, like after changing a filesystem label,
will still be removed.
2006-06-14 16:32:52 +02:00
Kay Sievers c6d4aeb930 udevtest: don't try to delete symlinks 2006-04-15 19:49:15 +02:00
Kay Sievers 7ba2d2e6ae apply format char to variables exported by ENV 2006-04-15 19:32:05 +02:00
Kay Sievers ff9a488d8c remove old symlinks before creating current ones
This will prevent incorrect symlinks when a filesystem
label is changed and the event is triggered again from
sysfs.
2006-04-12 22:08:05 +02:00
Kay Sievers a4d5ca644e merge device event handling and make database content available on "remove" 2006-04-05 22:29:33 +02:00
Renamed from udev_add.c (Browse further)