]> err.no Git - systemd/log
systemd
19 years agomove code to its own files
Kay Sievers [Fri, 22 Jul 2005 16:35:58 +0000 (12:35 -0400)]
move code to its own files

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agomake SYSFS{} usable for all devices
Kay Sievers [Wed, 20 Jul 2005 16:12:56 +0000 (12:12 -0400)]
make SYSFS{} usable for all devices

Patch from:
  Hannes Reinecke <hare@suse.de>

19 years agousb_id: fix typo
Hannes Reinecke [Tue, 19 Jul 2005 18:36:34 +0000 (14:36 -0400)]
usb_id: fix typo

19 years agoadd ID_BUS to *_id programs
Hannes Reinecke [Tue, 19 Jul 2005 15:18:19 +0000 (11:18 -0400)]
add ID_BUS to *_id programs

19 years agocreate_floppy_devices: add tool to create floppy nodes based on sysfs info
Hannes Reinecke [Tue, 19 Jul 2005 15:14:12 +0000 (11:14 -0400)]
create_floppy_devices: add tool to create floppy nodes based on sysfs info

19 years agovolume_id: add OCFS (Oracle Cluster File System) support
Andre Masella [Sun, 17 Jul 2005 13:54:40 +0000 (09:54 -0400)]
volume_id: add OCFS (Oracle Cluster File System) support

19 years agoadd padding to rules structure
Kay Sievers [Sun, 17 Jul 2005 13:40:29 +0000 (09:40 -0400)]
add padding to rules structure

Some architectures really want well alingned structures.
Thanks to Jim Gifford <maillist@jg555.com> for help finding it.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoallow rules to have labels and skip to next label
Kay Sievers [Sat, 16 Jul 2005 05:46:31 +0000 (07:46 +0200)]
allow rules to have labels and skip to next label

This will allow us to have whole blocks of rules to skip
conditionally. The following section creates the node "yes":
  GOTO="TEST"
  NAME="no"
  NAME="no2", LABEL="NO"
  NAME="yes", LABEL="TEST"
  NAME="no3"

19 years agothread unknown ENV{key} match as empty value
Kay Sievers [Sat, 16 Jul 2005 03:50:34 +0000 (05:50 +0200)]
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>
19 years ago063 release
Greg KH [Thu, 14 Jul 2005 23:09:21 +0000 (16:09 -0700)]
063 release

19 years agoadd 'make tests' as I'm always typing that one wrong...
Greg KH [Thu, 14 Jul 2005 22:27:30 +0000 (15:27 -0700)]
add 'make tests' as I'm always typing that one wrong...

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
19 years agoReally commit the udev_run_devd changes...
Greg KH [Thu, 14 Jul 2005 22:24:59 +0000 (15:24 -0700)]
Really commit the udev_run_devd changes...

19 years agoFixed udev_run_devd to run the /etc/dev.d/DEVNAME/ files too
Greg KH [Thu, 14 Jul 2005 22:19:37 +0000 (15:19 -0700)]
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>
19 years agoMerge gregkh@ehlo.org:/home/kay/public_html/pub/scm/linux/hotplug/udev-kay
Greg KH [Thu, 14 Jul 2005 21:13:34 +0000 (14:13 -0700)]
Merge gregkh@ehlo.org:/home/kay/public_html/pub/scm/linux/hotplug/udev-kay

19 years agocorrect default mode documentation in udev
Ville Skyttä [Thu, 14 Jul 2005 09:43:05 +0000 (11:43 +0200)]
correct default mode documentation in udev

19 years agofix typo in GROUP value application
Anton Farygin [Thu, 14 Jul 2005 09:39:55 +0000 (11:39 +0200)]
fix typo in GROUP value application

19 years agovolume_id: remove s390 dasd handling, it is dasd_id now
Kay Sievers [Wed, 13 Jul 2005 10:01:53 +0000 (12:01 +0200)]
volume_id: remove s390 dasd handling, it is dasd_id now

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agodasd_id: add s390 disk-label prober
Hannes Reinecke [Wed, 13 Jul 2005 09:35:51 +0000 (11:35 +0200)]
dasd_id: add s390 disk-label prober

Signed-off-by: Hannes Reinecke <hare@suse.de>
19 years agotrivial fixes for *_id programs
Kay Sievers [Wed, 13 Jul 2005 09:23:21 +0000 (11:23 +0200)]
trivial fixes for *_id programs

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agofix position of raw rules in gentoo config file
Greg KH [Tue, 12 Jul 2005 22:46:54 +0000 (15:46 -0700)]
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>
19 years agoIMPORT: add {parent} to import the persistent data of the parent device
Kay Sievers [Tue, 12 Jul 2005 12:46:36 +0000 (14:46 +0200)]
IMPORT: add {parent} to import the persistent data of the parent device

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoallow multiple values to be matched with KEY=="value1|value2"
Kay Sievers [Tue, 12 Jul 2005 10:52:56 +0000 (12:52 +0200)]
allow multiple values to be matched with KEY=="value1|value2"

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoudevd: set incoming socket buffer SO_RCVBUF to maximum
Kay Sievers [Tue, 12 Jul 2005 09:44:51 +0000 (11:44 +0200)]
udevd: set incoming socket buffer SO_RCVBUF to maximum

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoremember mapped rules state
Kay Sievers [Tue, 12 Jul 2005 09:42:39 +0000 (11:42 +0200)]
remember mapped rules state

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoata_id: check for empty serial number
Kay Sievers [Tue, 12 Jul 2005 09:41:09 +0000 (11:41 +0200)]
ata_id: check for empty serial number

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agocompile dasd only on s390
Kay Sievers [Tue, 12 Jul 2005 09:39:56 +0000 (11:39 +0200)]
compile dasd only on s390

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agofix usb_id and let scsi_id ignore "illegal request"
Hannes Reinecke [Fri, 8 Jul 2005 01:29:19 +0000 (03:29 +0200)]
fix usb_id and let scsi_id ignore "illegal request"

19 years ago062 release 062
Greg Kroah-Hartman [Thu, 7 Jul 2005 22:00:50 +0000 (15:00 -0700)]
062 release

19 years agofix symlink values separated by multiple spaces
Kay Sievers [Thu, 7 Jul 2005 21:43:13 +0000 (23:43 +0200)]
fix symlink values separated by multiple spaces

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoupdate RELEASE-NOTES
Kay Sievers [Thu, 7 Jul 2005 21:01:04 +0000 (23:01 +0200)]
update RELEASE-NOTES

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agofix typo in group assignment
Kay Sievers [Thu, 7 Jul 2005 20:40:09 +0000 (22:40 +0200)]
fix typo in group assignment

Thanks to: Georgi Georgiev

19 years agofix default-name handling and NAME="" rules
Kay Sievers [Thu, 7 Jul 2005 20:32:48 +0000 (22:32 +0200)]
fix default-name handling and NAME="" rules

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoadd WAIT_FOR_SYSFS key to loop until a file in sysfs arrives
Kay Sievers [Thu, 7 Jul 2005 18:05:51 +0000 (20:05 +0200)]
add WAIT_FOR_SYSFS key to loop until a file in sysfs arrives

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agofix unquoted strings in udevinitsend
Kay Sievers [Thu, 7 Jul 2005 14:02:03 +0000 (16:02 +0200)]
fix unquoted strings in udevinitsend

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years ago061 release 061
Greg Kroah-Hartman [Wed, 6 Jul 2005 21:24:08 +0000 (14:24 -0700)]
061 release

19 years agoMerge gregkh@ehlo.org:/home/kay/public_html/pub/scm/linux/hotplug/udev-kay
Greg KH [Wed, 6 Jul 2005 20:52:14 +0000 (13:52 -0700)]
Merge gregkh@ehlo.org:/home/kay/public_html/pub/scm/linux/hotplug/udev-kay

19 years agoupdate RELEASE-NOTES
Kay Sievers [Wed, 6 Jul 2005 20:17:06 +0000 (22:17 +0200)]
update RELEASE-NOTES

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agofix cdrom symlink problem in gentoo rules
Greg Kroah-Hartman [Wed, 6 Jul 2005 20:15:23 +0000 (13:15 -0700)]
fix cdrom symlink problem in gentoo rules

19 years agoSync up the Debian rules files
Greg KH [Wed, 6 Jul 2005 20:09:05 +0000 (13:09 -0700)]
Sync up the Debian rules files

19 years agowe want to provide OPTFLAGS
Kay Sievers [Wed, 6 Jul 2005 19:36:21 +0000 (21:36 +0200)]
we want to provide OPTFLAGS

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agorename ALARM_TIMEOUT to UDEV_ALARM_TIMEOUT
Kay Sievers [Wed, 6 Jul 2005 12:42:26 +0000 (14:42 +0200)]
rename ALARM_TIMEOUT to UDEV_ALARM_TIMEOUT

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoudevd: optimize env-key parsing
Kay Sievers [Wed, 6 Jul 2005 00:02:05 +0000 (02:02 +0200)]
udevd: optimize env-key parsing

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agodon't resolve OWNER, GROUP on precompile if string contains %, $
Kay Sievers [Wed, 6 Jul 2005 00:01:16 +0000 (02:01 +0200)]
don't resolve OWNER, GROUP on precompile if string contains %, $

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoset default device node to /dev
Kay Sievers [Tue, 5 Jul 2005 23:44:34 +0000 (01:44 +0200)]
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>
19 years agocreate udevdb files only if somehting interesting happened
Kay Sievers [Tue, 5 Jul 2005 20:40:42 +0000 (22:40 +0200)]
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>
19 years agopack parsed rules list
Kay Sievers [Tue, 5 Jul 2005 13:24:41 +0000 (15:24 +0200)]
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>
19 years agoreplace useless defines by inline text
Kay Sievers [Mon, 4 Jul 2005 18:42:04 +0000 (20:42 +0200)]
replace useless defines by inline text

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agomove rule matches to function
Kay Sievers [Mon, 4 Jul 2005 17:44:25 +0000 (19:44 +0200)]
move rule matches to function

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoadd usb_id program to generate usb-storage device identifiers
Kay Sievers [Mon, 4 Jul 2005 15:02:25 +0000 (17:02 +0200)]
add usb_id program to generate usb-storage device identifiers

Signed-off-by: Hannes Reinecke <hare@suse.de>
19 years agoadd IEEE1394 rules to the gentoo rule file
Kay Sievers [Sun, 3 Jul 2005 14:11:17 +0000 (16:11 +0200)]
add IEEE1394 rules to the gentoo rule file

19 years agofake also kernel-name if we renamed a netif
Kay Sievers [Sun, 3 Jul 2005 12:32:22 +0000 (14:32 +0200)]
fake also kernel-name if we renamed a netif

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoallow OPTIONS to be recognized for /sys/modules /sys/devices events
Kay Sievers [Sun, 3 Jul 2005 12:31:17 +0000 (14:31 +0200)]
allow OPTIONS to be recognized for /sys/modules /sys/devices events

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoswitch gentoo rules to new operators
Kay Sievers [Sun, 3 Jul 2005 12:01:48 +0000 (14:01 +0200)]
switch gentoo rules to new operators

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoFix ChangeLog titles
Greg KH [Sun, 3 Jul 2005 06:55:38 +0000 (23:55 -0700)]
Fix ChangeLog titles

19 years ago060 release 060
Greg KH [Sun, 3 Jul 2005 06:55:08 +0000 (23:55 -0700)]
060 release

19 years ago[PATCH] Keep udevstart from skipping devices without a 'dev' file
Kay Sievers [Sat, 2 Jul 2005 20:29:46 +0000 (22:29 +0200)]
[PATCH] Keep udevstart from skipping devices without a 'dev' file

19 years agoFix the gentoo udev rules to allow the box to boot properly
Greg KH [Sun, 3 Jul 2005 06:47:43 +0000 (23:47 -0700)]
Fix the gentoo udev rules to allow the box to boot properly

19 years ago[PATCH] Udev doesn't properly build with $CROSS
Gustavo Zacarias [Mon, 27 Jun 2005 15:46:53 +0000 (12:46 -0300)]
[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.

19 years ago[PATCH] #define NETLINK_KOBJECT_UEVENT
Marco d'Itri [Wed, 22 Jun 2005 22:28:54 +0000 (00:28 +0200)]
[PATCH] #define NETLINK_KOBJECT_UEVENT

On many systems the system kernel headers are not recent enough to
compile udev.

19 years ago059 release 059
Greg Kroah-Hartman [Thu, 30 Jun 2005 23:27:52 +0000 (16:27 -0700)]
059 release

19 years agoUpdate the gentoo rule file
Greg Kroah-Hartman [Thu, 30 Jun 2005 23:26:43 +0000 (16:26 -0700)]
Update the gentoo rule file

19 years agoprepare RELEASE-NOTES
Kay Sievers [Thu, 30 Jun 2005 19:50:22 +0000 (21:50 +0200)]
prepare RELEASE-NOTES

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoadd ID_TYPE to the id probers
Kay Sievers [Mon, 27 Jun 2005 15:04:56 +0000 (17:04 +0200)]
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>
19 years agoadd -x to scsi_id to export the queried values in env format
Kay Sievers [Mon, 27 Jun 2005 00:51:49 +0000 (02:51 +0200)]
add -x to scsi_id to export the queried values in env format

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agostore the imported device information in the udevdb
Kay Sievers [Sun, 26 Jun 2005 16:55:24 +0000 (18:55 +0200)]
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>
19 years agorename udev_volume_id to vol_id and add --export option
Kay Sievers [Sat, 25 Jun 2005 23:54:47 +0000 (01:54 +0200)]
rename udev_volume_id to vol_id and add --export option

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoadd ata_id to read serial numbers from ATA drives
Kay Sievers [Sat, 25 Jun 2005 21:54:28 +0000 (23:54 +0200)]
add ata_id to read serial numbers from ATA drives

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoIMPORT allow to import program returned keys into the env
Kay Sievers [Sat, 25 Jun 2005 16:58:49 +0000 (18:58 +0200)]
IMPORT allow to import program returned keys into the env

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agounify execute_command() and execute_program()
Kay Sievers [Sat, 25 Jun 2005 13:35:14 +0000 (15:35 +0200)]
unify execute_command() and execute_program()

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoIMPORT=<file> allow to import a shell-var style config-file
Kay Sievers [Sat, 25 Jun 2005 11:10:16 +0000 (13:10 +0200)]
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>
19 years agoallow rules to be compiled to one binary file
Kay Sievers [Fri, 24 Jun 2005 16:05:32 +0000 (18:05 +0200)]
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>
19 years agofix the fix and change the file to wait for to the "bus" link
Kay Sievers [Wed, 22 Jun 2005 00:11:59 +0000 (02:11 +0200)]
fix the fix and change the file to wait for to the "bus" link

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoMerge gregkh@ehlo.org:/home/kay/public_html/pub/scm/linux/hotplug/udev-kay
Greg KH [Tue, 21 Jun 2005 23:36:29 +0000 (16:36 -0700)]
Merge gregkh@ehlo.org:/home/kay/public_html/pub/scm/linux/hotplug/udev-kay

19 years agofix udevstart and let all events trvel trough udev
Kay Sievers [Tue, 21 Jun 2005 23:31:24 +0000 (01:31 +0200)]
fix udevstart and let all events trvel trough udev

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoprepare for module loading rules and add MODALIAS key
Kay Sievers [Sun, 19 Jun 2005 22:29:38 +0000 (00:29 +0200)]
prepare for module loading rules and add MODALIAS key

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoremove device node, when type block/char has changed
Kay Sievers [Sat, 18 Jun 2005 08:57:10 +0000 (10:57 +0200)]
remove device node, when type block/char has changed

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years ago[PATCH] Dialout group fix for capi devices in the gentoo rules file
Stefan Schweizer [Sat, 11 Jun 2005 06:09:00 +0000 (08:09 +0200)]
[PATCH] Dialout group fix for capi devices in the gentoo rules file

currently it is not possible to use the capi devices for users even
when the user is in the dialout group. Please apply the attached patch
and fix the issue.

There is also a gentoo bug about this:
http://bugs.gentoo.org/show_bug.cgi?id=92445

diff -ur udev-056.orig/etc/udev/gentoo/udev.rules udev-056/etc/udev/gentoo/udev.rules

19 years agoMakefile: remove dev.d/ hotplug.d/ from install target
Kay Sievers [Thu, 16 Jun 2005 01:26:16 +0000 (03:26 +0200)]
Makefile: remove dev.d/ hotplug.d/ from install target

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoudevcontrol: add max_childs command
Kay Sievers [Thu, 16 Jun 2005 01:22:27 +0000 (03:22 +0200)]
udevcontrol: add max_childs command

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoudevd: control log-priority of the running daemon with udevcontrol
Kay Sievers [Wed, 15 Jun 2005 23:58:47 +0000 (01:58 +0200)]
udevd: control log-priority of the running daemon with udevcontrol

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoudeveventrecorder: add small program that writes an event to disk
Kay Sievers [Wed, 15 Jun 2005 01:07:14 +0000 (03:07 +0200)]
udeveventrecorder: add small program that writes an event to disk

Used for debugging and event replay from initramfs.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoklibc: add missing files
Kay Sievers [Tue, 14 Jun 2005 18:27:08 +0000 (20:27 +0200)]
klibc: add missing files

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoudevinitsend: handle replay messages correctly
Kay Sievers [Tue, 14 Jun 2005 15:02:55 +0000 (17:02 +0200)]
udevinitsend: handle replay messages correctly

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoudev: fix netdev RUN handling
Hannes Reinecke [Tue, 14 Jun 2005 14:12:31 +0000 (16:12 +0200)]
udev: fix netdev RUN handling

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoudev man page: add operators
Kay Sievers [Tue, 14 Jun 2005 11:28:24 +0000 (13:28 +0200)]
udev man page: add operators

Patch from: Hannes Reinecke <hare@suse.de>

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoudevcontrol: fix exit code
Hannes Reinecke [Mon, 13 Jun 2005 20:38:42 +0000 (22:38 +0200)]
udevcontrol: fix exit code

Kay is lazy! :)

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoudevd: allow starting of udevd with stopped exec-queue
Kay Sievers [Wed, 8 Jun 2005 09:57:53 +0000 (11:57 +0200)]
udevd: allow starting of udevd with stopped exec-queue

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoFix udevinfo for empty sysfs directories
Greg KH [Mon, 6 Jun 2005 20:46:19 +0000 (13:46 -0700)]
Fix udevinfo for empty sysfs directories

udevinfo would die if it ran into a sysfs directory with no attributes.
This is valid for a lot of scsi devices, so now we just continue on
up the chain.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
19 years agoklibc: version 1.0.14
Kay Sievers [Sun, 5 Jun 2005 15:11:09 +0000 (17:11 +0200)]
klibc: version 1.0.14

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoudev: handle all events - not only class and block devices
Kay Sievers [Sun, 5 Jun 2005 13:55:29 +0000 (15:55 +0200)]
udev: handle all events - not only class and block devices

Handle all events with rules. If udev is expected to handle hotplug.d/
the exernal helper must be called.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agovolume_id: use udev-provided log-level
Kay Sievers [Sun, 5 Jun 2005 03:17:21 +0000 (05:17 +0200)]
volume_id: use udev-provided log-level

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoudev: clear lists if a new value is assigned
Kay Sievers [Sun, 5 Jun 2005 03:13:33 +0000 (05:13 +0200)]
udev: clear lists if a new value is assigned

Former values are cleared if SYMLINK=<value> is used. To add a value
SYMLINK+=<value> is now needed.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoudev: move dev.d/ handling to external helper
Kay Sievers [Sun, 5 Jun 2005 03:11:29 +0000 (05:11 +0200)]
udev: move dev.d/ handling to external helper

Modern rules are expected to call notification and postprocessing with
the RUN key. For compatibility the current behavior can be emulated
with an external helper.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoudev: allow final assignments :=
Kay Sievers [Sun, 5 Jun 2005 02:57:03 +0000 (04:57 +0200)]
udev: allow final assignments :=

The use of KEY:=<value> will make the key unchangeable by later rules.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoudevd: improve timeout handling
Kay Sievers [Sun, 5 Jun 2005 02:53:17 +0000 (04:53 +0200)]
udevd: improve timeout handling

Allow to override some parameters by environment keys.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoMakefile: fix DESTDIR
Kay Sievers [Sun, 5 Jun 2005 02:48:09 +0000 (04:48 +0200)]
Makefile: fix DESTDIR

Patch from: Vassilis Virvilis <vasvir@iit.demokritos.gr>

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoudevd: add initsend
Kay Sievers [Sun, 5 Jun 2005 02:44:07 +0000 (04:44 +0200)]
udevd: add initsend

Transfer stored events from initramfs to the running udevd to replay
events after userspace is ready.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoudevd: add udevcontrol
Kay Sievers [Sun, 5 Jun 2005 02:41:09 +0000 (04:41 +0200)]
udevd: add udevcontrol

Controls the behavior of the running daemon. Currently only stopping and starting
of the execution queue is supported.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoudevd: listen for netlink events
Kay Sievers [Sun, 5 Jun 2005 02:38:10 +0000 (04:38 +0200)]
udevd: listen for netlink events

After the first valid netlink-event all event with a serial number
received on the udevsend socket will be ignored.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
19 years agoFix makefile to allow 'make release' to work with git
Greg KH [Fri, 20 May 2005 20:22:05 +0000 (13:22 -0700)]
Fix makefile to allow 'make release' to work with git