1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00
systemd/TODO
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

18 lines
941 B
Plaintext

o drop support for node names in name stack, support only symlinks
With well defined and kernel-supplied node names, we no longer need
to support a possible stack of conflicting symlinks and node names.
From there on, only symlinks with identical names can be claimed
by multiple devices. It will simplify the logic a lot and shrink
/dev/.udev/names/ significantly. Also exclude "*/MAJ:MIN" link names
from the name stack, they can not conflict.
o remove most NAME= rules (they are provided by the 2.6.31 kernel)
o get rid of braindead "scan all devices to find myself" libusb interface
if it can not be fixed, drop libusb entirely
o convert firmware.sh to C
o symlink names to udevadm will no longer be resolved to old command names
o "udevadm control" commands will only accept the --<command> syntax
o drop all support for the DEPRECATED sysfs layout
o add warning for BUS, SYSFS, ID