1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 08:26:52 +03:00
Commit Graph

1398 Commits

Author SHA1 Message Date
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
Stefan Schweizer
ae8d5e161f [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
2005-06-16 16:23:34 -07:00
Kay Sievers
e33d1515e2 Makefile: remove dev.d/ hotplug.d/ from install target
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-16 03:26:16 +02:00
Kay Sievers
7628ff6e14 udevcontrol: add max_childs command
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-16 03:22:27 +02:00
Kay Sievers
8ab44e3fd0 udevd: control log-priority of the running daemon with udevcontrol
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-16 01:58:47 +02:00
Kay Sievers
3632a36858 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>
2005-06-15 03:07:14 +02:00
Kay Sievers
e5b7f7b834 klibc: add missing files
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-14 20:27:08 +02:00
Kay Sievers
510de9c9e4 udevinitsend: handle replay messages correctly
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-14 17:02:55 +02:00
Hannes Reinecke
d27d8d6a8d udev: fix netdev RUN handling
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-14 16:12:31 +02:00
Kay Sievers
0fa98832b5 udev man page: add operators
Patch from: Hannes Reinecke <hare@suse.de>

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-14 13:28:24 +02:00
Hannes Reinecke
60d7b20100 udevcontrol: fix exit code
Kay is lazy! :)

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-13 22:38:42 +02:00
Kay Sievers
561d4c5a3a udevd: allow starting of udevd with stopped exec-queue
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-08 11:57:53 +02:00
Greg KH
e2bd03ff63 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>
2005-06-06 13:46:19 -07:00
Kay Sievers
9607c4222c klibc: version 1.0.14
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05 17:11:09 +02:00
Kay Sievers
c07669bd66 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>
2005-06-05 15:55:29 +02:00
Kay Sievers
c2401132bf volume_id: use udev-provided log-level
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05 05:17:21 +02:00
Kay Sievers
995aec8759 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>
2005-06-05 05:13:33 +02:00
Kay Sievers
6a522681e1 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>
2005-06-05 05:11:29 +02:00
Kay Sievers
c974742bf4 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>
2005-06-05 04:57:03 +02:00
Kay Sievers
a15f42c46a udevd: improve timeout handling
Allow to override some parameters by environment keys.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05 04:53:17 +02:00
Kay Sievers
1682c8c4a3 Makefile: fix DESTDIR
Patch from: Vassilis Virvilis <vasvir@iit.demokritos.gr>

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-06-05 04:48:09 +02:00
Kay Sievers
0590abd720 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>
2005-06-05 04:44:07 +02:00
Kay Sievers
3b47c7394d 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>
2005-06-05 04:41:09 +02:00
Kay Sievers
88f4b6485e 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>
2005-06-05 04:38:10 +02:00
Greg KH
5e65ab9a19 Fix makefile to allow 'make release' to work with git 2005-05-20 13:22:05 -07:00
Greg KH
db60d377b0 058 release 2005-05-20 13:18:28 -07:00
Darren Salt
d514329ee2 [PATCH] update cdsymlinks to latest version
diff -ur udev-057.orig/extras/cdsymlinks.c udev-057/extras/cdsymlinks.c
2005-05-20 12:59:17 -07:00
Greg KH
539876083d add Red Hat/Fedora html documenation
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-05-18 23:37:22 -07:00
Greg KH
8d9e468f12 Update Red Hat default udev rules.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-05-18 23:34:45 -07:00
Greg KH
13ca17798c remove detach_state files from the sysfs test tree.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-05-18 23:33:12 -07:00