1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 15:21:37 +03:00
Commit Graph

148 Commits

Author SHA1 Message Date
Kay Sievers
09d38845da update TODO/NEWS 2011-04-29 21:16:53 +02:00
Kay Sievers
c1810751a2 release 168 2011-04-22 18:29:05 +02:00
Kay Sievers
a178e7fe90 udevd: rules files - accept empty or /dev/null links 2011-04-20 17:58:58 +02:00
Kay Sievers
5e8176e156 udevd: netif rename - use ifindex for temporary name 2011-04-20 17:30:30 +02:00
Kay Sievers
ead7c62ab7 udevadm: settle - kill alarm() 2011-04-20 02:18:22 +02:00
Kay Sievers
2181d30a34 timeout handling without alarm() 2011-04-20 01:54:38 +02:00
Kay Sievers
82063a88d1 udevd: ppoll() -> epoll + signalfd 2011-04-18 02:14:24 +02:00
Kay Sievers
578cd5101d udevadm: monitor - use epoll 2011-04-15 11:58:17 +02:00
Kay Sievers
9ead662791 udevadm: info --cleanup-db
Most of the udev database from initramfs should be deleted before
starting udev in the real root. udevadm: info --cleanup-db deletes
all database entries in /run/udev. Events that processed IMPORT{db},
or mark devices explicitely as persistent, will be excluded.
2011-04-13 22:33:01 +02:00
Kay Sievers
a3eca08b19 udevadm: settle - watch queue file 2011-04-13 18:44:28 +02:00
Kay Sievers
ff2c503df0 udevadm: control - add --exit 2011-04-13 01:17:09 +02:00
Kay Sievers
864fde8a08 man: remove trigger --type=failed handling 2011-03-23 23:56:15 +01:00
Kay Sievers
cf3b3fbcd5 udevd: use facility == LOG_DAEMON when writing to /dev/kmsg
Syslog wants to distinguish the sorce of messages. We should
indicate that this is a userspace message (LOG_DAEMON) and not
a kernel message (LOG_KERNEL).
2011-03-23 01:41:25 +01:00
Piter PUNK
6fb1b637d4 firmware: convert shell script to C 2009-12-15 16:28:52 +01:00
Kay Sievers
3c1898863f remove remaining support for CONFIG_SYSFS_DEPRECATED 2009-12-15 16:14:14 +01:00
Kay Sievers
6d87ee2e00 print warning for BUS=, SYSFS{}=, ID= 2009-11-16 23:39:33 +01:00
Kay Sievers
91554cf9a1 update TODO, NEWS 2009-09-16 20:27:30 +02:00
Kay Sievers
24355313dc scsi_id: delete copy of bsg.h
It's provided by the kernel since 2.6.23.
2009-09-14 14:33:26 +02:00
Kay Sievers
ca508dd94d udevadm: control - remove compat code 2009-09-14 14:29:05 +02:00
Kay Sievers
6c29f2b942 simplify "symlink name stack"
With well defined and kernel-supplied node names, we no longer need
to support a possible stack of conflicting symlinks and node names.
Only symlinks with identical names can be claimed by multiple devices.

This shrinks the former /dev/.udev/names/ significantly.

Also the /dev/{block,char}/MAJ:MIN" links are excluded from the name
stack - they are unique and can not conflict.
2009-09-09 18:49:07 +02:00
Kay Sievers
6d837a5348 udevadm: remove symlink support for old commands 2009-09-07 12:13:49 +02:00
Kay Sievers
c45e221513 update TODO 2009-08-30 22:45:49 +02:00
Kay Sievers
2ffc9cc191 change database file names
With very deeply nested devices, We can not use a single file
name to carry an entire DEVPATH. Use <subsystem>:<sysname> as
the database filename, which should also simplify the handling
of devices moving around, as these values will not change but
still be unique.

For the name stack we use the <maj>:<min> now as the filename.

> On Tue, Aug 18, 2009 at 09:59:56AM -0400, Ric Wheeler wrote:
> The first is that udev grumbles during boot about "file name too long"
> like the following:
>
> Aug 17 06:49:58 megadeth udevd-event[20447]: unable to create db file
> '/dev/.udev/db/\x2fdevices\x2fpci0000:00\x2f0000:00:04.0\x2f0000:17:00.0\x2f0000:18:0a.0\x2f0000:1f:00.0\x2fhost11\x2fport-11:0\x2fexpander-11:0\x2fport-11:0:0\x2fexpander-11:1\x2fport-11:1:0\x2fexpander-11:2\x2fport-11:2:17\x2fexpander-11:3\x2fport-11:3:1\x2fend_device-11:3:1\x2fbsg\x2fend_device-11:3:1':
> File name too long
2009-08-19 20:49:49 +02:00
Kay Sievers
cb6268f419 udevd: block for 15 seconds after error when too old kernel is detected
The compat code will go away some day and CONFIG_SYSFS_DEPRECATED
kernels fail in too many setups now to be worth to support them.
2009-08-08 22:59:41 +02:00
Kay Sievers
4b6769f612 hid2hci: rewrite (and break) rules and device handling
We must never access random devices in /dev which do not belong to
the event we are handling. Hard-coding /dev/hidrawX, and looping over all
devices is absolutely not acceptable --> hook into hidraw events.

We can not relay on (rather random) properties merged into the parent
device by earlier rules --> use libudev to find the sibling device
with a matching interface.

Libusb does not fit into udev's use case. We never want want to scan
and open() all usb devices in the system, just to find the device
we are already handling the event for --> put all the stupid scanning
into a single function and prepare for a fixed libusb or drop it later.
2009-07-24 18:06:22 +02:00
Kay Sievers
8bbe3ca427 rules: make ata_id properties the default for all ATA block devices
We need to call ata_id as the default for libata sd* devices. We
want ID_BUS=ata, and the ATA device proeprties, and be independent
of the SCSI emulation with the truncated values. The links
in /dev/disk/by-id/{ata-*,scsi-*} are still the same.
2009-06-28 02:59:48 +02:00
Kay Sievers
7567ca34aa TODO: add cleanup of ATA_COMPAT 2009-06-22 00:31:46 +02:00
Kay Sievers
0373056e45 rules: do not install usb-id/pci-id rules when --disable-extras is used 2009-06-17 18:18:22 +02:00
Kay Sievers
a8aab0e95b rules: remove MMC rule, 2.6.30 has the modalias 2009-06-17 02:33:49 +02:00
Kay Sievers
6133f3432f cleanup ./configure installation directory options 2009-06-17 02:25:07 +02:00
Kay Sievers
bb0059f36e autogen.sh: make "CFLAGS=-O0 ./autogen.sh" working 2009-06-16 21:29:13 +02:00
Kay Sievers
514b8d6212 configure: enable all extras by default, provide --disable-extras 2009-06-16 21:13:15 +02:00
Kay Sievers
df8bdf3fb8 TODO: update 2009-06-16 14:21:08 +02:00
Kay Sievers
68a99a2c45 update TODO 2009-06-16 02:03:26 +02:00
Kay Sievers
3dd8cbecde rules: remove scsi ch module loading rule 2009-06-10 00:17:35 +02:00
Kay Sievers
45798927f8 udevd: print error if worker dies unexpectedly 2009-06-08 17:16:48 +02:00
Kay Sievers
185ea6a76d path_id: implement in C using libudev 2009-06-06 16:07:06 +02:00
Kay Sievers
1e03b754ae udevd: convert to event worker processes
Event processes now get re-used after they handled an event. This reduces
pressure on the CPU significantly because cloned event processes no longer
cause page faults in the main daemon. After the events have settled, the
no longer needed worker processes get killed.
2009-06-04 01:44:04 +02:00
Kay Sievers
690ed63a22 update TODO 2009-05-20 19:43:26 +02:00
Kay Sievers
e6c1a2bde7 use openat(), unlinkat(), fstatat() 2009-05-20 18:58:52 +02:00
Kay Sievers
634ffc0ce2 release 142 2009-05-13 02:35:37 +02:00
Kay Sievers
86d9bf4bec update TODO 2009-05-11 03:53:55 +02:00
Kay Sievers
cb14f4543a handle devtmpfs nodes
UDev follows the kernel given name, and re-uses the kernel created
device node. If the kernel and spcecified udev rules disagree, the
udev specified node node is created and the kernel-created on is
deleted.
2009-05-04 04:52:31 +02:00
Kay Sievers
8abc567533 update TODO 2009-04-29 15:57:41 +02:00
Kay Sievers
4277453fd2 update TODO 2009-04-22 04:32:25 +02:00
Kay Sievers
cc2c6d6ad9 TODO: add packet filter 2009-04-18 13:23:55 +02:00
Kay Sievers
7a87d34f8a rules: remove DVB shell script 2009-04-16 22:35:59 +02:00
Kay Sievers
3d8599873a release 140 2009-03-13 13:17:31 +01:00
Kay Sievers
b2fbf53a08 update TODO 2009-03-07 02:35:18 +01:00
Kay Sievers
00440f21af update TODO 2009-03-04 12:39:52 +01:00