eudev/udev
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
..
.gitignore udev/.gitignore: add udev.pc 2009-06-22 00:33:09 +02:00
test-udev.c use more efficient string copying 2009-05-20 17:57:52 +02:00
udev-event.c change database file names 2009-08-19 20:49:49 +02:00
udev-node.c change database file names 2009-08-19 20:49:49 +02:00
udev-rules.c warn about non-readable or empty rules file 2009-08-19 07:34:07 +02:00
udev-watch.c udevd: convert to event worker processes 2009-06-04 01:44:04 +02:00
udev.h cleanup ./configure installation directory options 2009-06-17 02:25:07 +02:00
udev.pc.in udev.pc: add 2009-06-19 19:17:18 +02:00
udev.xml man: SYMLINK can be matched as well as assigned 2009-08-07 14:46:42 +02:00
udevadm-control.c fix spelling 2009-08-08 15:42:05 +02:00
udevadm-info.c update a few years of copyright 2009-08-01 09:39:18 -04:00
udevadm-monitor.c update a few years of copyright 2009-08-01 09:39:18 -04:00
udevadm-settle.c update a few years of copyright 2009-08-01 09:39:18 -04:00
udevadm-test.c udevadm: test - print list of properties 2009-07-02 22:56:19 +02:00
udevadm-trigger.c fix spelling 2009-08-08 15:42:05 +02:00
udevadm.c update a few years of copyright 2009-08-01 09:39:18 -04:00
udevadm.xml man: fix unused, inaccurate metadata 2009-08-07 14:46:42 +02:00
udevd.c udevd: block for 15 seconds after error when too old kernel is detected 2009-08-08 22:59:41 +02:00
udevd.xml man: fix unused, inaccurate metadata 2009-08-07 14:46:42 +02:00