chiark / gitweb /
release 165
[elogind.git] / NEWS
1 udev 165
2 ========
3 Bugfixes.
4
5 The udev database has changed, After installation of a new udev
6 version, 'udevadm info --convert-db' should be called, to let the new
7 udev/libudev version read the already stored data.
8
9 udevadm now supports quoting of property values, and prefixing of
10 key names:
11   $ udevadm info --export --export-prefix=MY_ --query=property -n sda
12   MY_MAJOR='259'
13   MY_MINOR='0'
14   MY_DEVNAME='/dev/sda'
15   MY_DEVTYPE='disk'
16   ...
17
18 libudev now supports:
19   udev_device_get_is_initialized()
20   udev_enumerate_add_match_is_initialized()
21 to be able to skip devices the kernel has created , but udev has
22 not already handled.
23
24 libudev now supports:
25   udev_device_get_usec_since_initialized()
26 to retrieve the "age" of a udev device record.
27
28 GUdev supports a more generic GUdevEnumerator class, udev TAG
29 handling, device initialization and timestamp now.
30
31 The counterpart of /sys/dev/{char,block}/$major:$minor,
32 /dev/{char,block}/$major:$minor symlinks are now unconditionally
33 created, even when no rule files exist.
34
35 New and updated keymaps.
36
37 udev 164
38 ========
39 Bugfixes.
40
41 GUdev moved from /usr to /.
42
43 udev 163
44 ========
45 Bugfixes.
46
47 udev 162
48 ========
49 Bugfixes.
50
51 Persistent network naming rules are disabled inside of Qemu/KVM now.
52
53 New and updated keymaps.
54
55 Udev gets unconditionally enabled on systemd installations now. There
56 is no longer the need to to run 'systemctl enable udev.service'.
57
58 udev 161
59 ========
60 Bugfixes.
61
62 udev 160
63 ========
64 Bugfixes.
65
66 udev 159
67 ========
68 Bugfixes.
69
70 New and fixed keymaps.
71
72 Install systemd service files if applicable.
73
74 udev 158
75 ========
76 Bugfixes.
77
78 All distribution specific rules are removed from the udev source tree,
79 most of them are no longer needed. The Gentoo rules which allow to support
80 older kernel versions, which are not covered by the default rules anymore
81 has moved to rules/misc/30-kernel-compat.rules.
82
83 udev 157
84 ========
85 Bugfixes.
86
87 The option --debug-trace and the environemnt variable UDEVD_MAX_CHILDS=
88 was removed from udevd.
89
90 Udevd now checks the kernel commandline for the following variables:
91   udev.log-priority=<syslog priority>
92   udev.children-max=<maximum number of workers>
93   udev.exec-delay=<seconds to delay the execution of RUN=>
94 to help debuging coldplug setups where the loading of a kernel
95 module crashes the system.
96
97 The subdirectory in the source tree rules/packages has been renamed to
98 rules/arch, anc contains only architecture specific rules now.
99
100 udev 156
101 ========
102 Bugfixes.
103
104 udev 155
105 ========
106 Bugfixes.
107
108 Now the udev daemon itself, does on startup:
109   - copy the content of /lib/udev/devices to /dev
110   - create the standard symlinks like /dev/std{in,out,err},
111     /dev/core, /dev/fd, ...
112   - use static node information provided by kernel modules
113     and creates these nodes to allow module on-demand loading
114   - possibly apply permissions to all ststic nodes from udev
115     rules which are annotated to match a static node
116
117 The default mode for a device node is 0600 now to match the kernel
118 created devtmpfs defaults. If GROUP= is specified and no MODE= is
119 given the default will be 0660.
120
121 udev 154
122 ========
123 Bugfixes.
124
125 Udev now gradually starts to pass control over the primary device nodes
126 and their names to the kernel, and will in the end only manage the
127 permissions of the node, and possibly create additional symlinks.
128 As a first step NAME="" will be ignored, and NAME= setings with names
129 other than the kernel provided name will result in a logged warning.
130 Kernels that don't provide device names, or devtmpfs is not used, will
131 still work as they did before, but it is strongly recommended to use
132 only the same names for the primary device node as the recent kernel
133 provides for all devices.
134
135 udev 153
136 ========
137 Fix broken firmware loader search path.
138
139 udev 152
140 ========
141 Bugfixes.
142
143 "udevadm trigger" defaults to "change" events now instead of "add"
144 events. The "udev boot script" might need to add "--action=add" to
145 the trigger command if not already there, in case the initial coldplug
146 events are expected as "add" events.
147
148 The option "all_partitons" was removed from udev. This should not be
149 needed for usual hardware. Udev can not safely make assumptions
150 about non-existing partition major/minor numbers, and therefore no
151 longer provide this unreliable and unsafe option.
152
153 The option "ignore_remove" was removed from udev. With devtmpfs
154 udev passed control over device nodes to the kernel. This option
155 should not be needed, or can not work as advertised. Neither
156 udev nor the kernel will remove device nodes which are copied from
157 the /lib/udev/devices/ directory.
158
159 All "add|change" matches are replaced by "!remove" in the rules and
160 in the udev logic. All types of events will update possible symlinks
161 and permissions, only "remove" is handled special now.
162
163 The modem modeswitch extra was removed and the external usb_modeswitch
164 program should be used instead.
165
166 New and fixed keymaps.
167
168 udev 151
169 ========
170 Bugfixes.
171
172 udev 150
173 ========
174 Bugfixes.
175
176 Kernels with SYSFS_DEPRECATED=y are not supported since a while. Many users
177 depend on the current sysfs layout and the information not available in the
178 deprecated layout. All remaining support for the deprecated sysfs layout is
179 removed now.
180
181 udev 149
182 ========
183 Fix for a possible endless loop in the new input_id program.
184
185 udev 148
186 ========
187 Bugfixes.
188
189 The option "ignore_device" does no longer exist. There is no way to
190 ignore an event, as libudev events can not be suppressed by rules.
191 It only prevented RUN keys from being executed, which results in an
192 inconsistent behavior in current setups.
193
194 BUS=, SYSFS{}=, ID= are long deprecated and should be SUBSYSTEM(S)=,
195 ATTR(S){}=, KERNEL(S)=. It will cause a warning once for every rule
196 file from now on.
197
198 The support for the deprecated IDE devices has been removed from the
199 default set of rules. Distros who still care about non-libata drivers
200 need to add the rules to the compat rules file.
201
202 The ID_CLASS property on input devices has been replaced by the more accurate
203 set of flags ID_INPUT_{KEYBOARD,KEY,MOUSE,TOUCHPAD,TABLET,JOYSTICK}. These are
204 determined by the new "input_id" prober now. Some devices, such as touchpads,
205 can have several classes. So if you previously had custom udev rules which e. g.
206 checked for ENV{ID_CLASS}=="kbd", you need to replace this with
207 ENV{ID_INPUT_KEYBOARD}=="?*".
208
209 udev 147
210 ========
211 Bugfixes.
212
213 To support DEVPATH strings larger than the maximum file name length, the
214 private udev database format has changed. If some software still reads the
215 private files in /dev/.udev/, which it shouldn't, now it's time to fix it.
216 Please do not port anything to the new format again, everything in /dev/.udev
217 is and always was private to udev, and may and will change any time without
218 prior notice.
219
220 Multiple devices claiming the same names in /dev are limited to symlinks
221 only now. Mixing identical symlink names and node names is not supported.
222 This reduces the amount of data in the database significantly.
223
224 NAME="%k" causes a warning now. It's is and always was completely superfluous.
225 It will break kernel supplied DEVNAMEs and therefore it needs to be removed
226 from all rules.
227
228 Most NAME= instructions got removed. Kernel 2.6.31 supplies the needed names
229 if they are not the default. To support older kernels, the NAME= rules need to
230 be added to the compat rules file.
231
232 Symlinks to udevadm with the old command names are no longer resolved to
233 the udevadm commands.
234
235 The udev-acl tool got adopted to changes in ConsoleKit. Version 0.4.1 is
236 required now.
237
238 The option "last_rule" does no longer exist. Its use breaks too many
239 things which expect to be run from independent later rules, and is an idication
240 that something needs to be fixed properly instead.
241
242 The gudev API is no longer marked as experimental,
243 G_UDEV_API_IS_SUBJECT_TO_CHANGE is no longer needed. The gudev introspection
244 is enabled by default now. Various projects already depend on introspection
245 information to bind dynamic languages to the gudev interfaces.
246
247 udev 146
248 ========
249 Bugfixes.
250
251 The udevadm trigger "--retry-failed" option, which is replaced since quite
252 a while by "--type=failed" is removed.
253
254 The failed tracking was not working at all for a few releases. The RUN
255 option "ignore_error" is replaced by a "fail_event_on_error" option, and the
256 default is not to track any failing RUN executions.
257
258 New keymaps, new modem, hid2hci updated.
259
260 udev 145
261 ========
262 Fix possible crash in udevd when worker processes are busy, rules are
263 changed at the same time, and workers get killed to reload the rules.
264
265 udev 144
266 ========
267 Bugfixes.
268
269 Properties set with ENV{.FOO}="bar" are marked private by starting the
270 name with a '.'. They will not be stored in the database, and not be
271 exported with the event.
272
273 Firmware files are looked up in:
274   /lib/firmware/updates/$(uname -r)
275   /lib/firmware/updates
276   /lib/firmware/$(uname -r)
277   /lib/firmware"
278 now.
279
280 ATA devices switched the property from ID_BUS=scsi to ID_BUS=ata.
281 ata_id, instead of scsi_id, is the default tool now for ATA devices.
282
283 udev 143
284 ========
285 Bugfixes.
286
287 The configure options have changed because another library needs to be
288 installed in a different location. Instead of exec_prefix and udev_prefix,
289 libdir, rootlibdir and libexecdir are used. The Details are explained in
290 the README file.
291
292 Event processes now get re-used after they handled an event. This reduces
293 the number of forks and the pressure on the CPU significantly, because
294 cloned event processes no longer cause page faults in the main daemon.
295 After the events have settled, a few worker processes stay around for
296 future events, all others get cleaned up.
297
298 To be able to use signalfd(), udev depends on kernel version 2.6.25 now.
299 Also inotify support is mandatory now to run udev.
300
301 The format of the queue exported by the udev damon has changed. There is
302 no longer a /dev/.udev/queue/ directory. The current event queue can be
303 accessed with udevadm settle and libudedv.
304
305 Libudev does not have the unstable API header anymore. From now on,
306 incompatible changes will be handled by bumping the library major version.
307
308 To build udev from the git tree gtk-doc is needed now. The tarballs will
309 build without it and contain the pre-built documentation. An online copy
310 is available here:
311   http://www.kernel.org/pub/linux/utils/kernel/hotplug/libudev/
312
313 The tools from the udev-extras repository have been merged into the main
314 udev repository. Some of the extras have larger external dependencies, and
315 they can be disabled with the configure switch --disable-extras.
316
317 udev 142
318 ========
319 Bugfixes.
320
321 The program vol_id and the library libvolume_id are removed from the
322 repository. Libvolume_id is merged with libblkid from the util-linux-ng
323 package. Persistent disk links for label and uuid depend on the
324 util-linux-ng version (2.15) of blkid now. Older versions of blkid
325 can not be used with udev.
326
327 Libudev allows to subscribe to udev events. To prevent unwanted messages
328 to be delivered, and waking up the subscribing process, a filter can be
329 installed, to drop messages inside a kernel socket filter. The filters
330 match on the <subsytem>:<devtype> properties of the device.
331     This is part of the ongoing effort to replace HAL, and switch current
332 users over to directly use libudev.
333     Libudev is still marked as experimental, and its interface might
334 eventually change if needed, but no major changes of the currently exported
335 interface are expected anymore, and a first stable release should happen
336 soon.
337
338 A too old kernel (2.6.21) or a kernel with CONFIG_SYSFS_DEPRECATED
339 is not supported since while and udevd will log an error message at
340 startup. It should still be able to boot-up, but advanced rules and system
341 services which depend on the information not available in the old sysfs
342 format will fail to work correctly.
343
344 DVB device naming is supplied by the kernel now. In case older kernels
345 need to be supported, the old shell script should be added to a compat
346 rules file.
347
348 udev 141
349 ========
350 Bugfixes.
351
352 The processed udev events get send back to the netlink socket. Libudev
353 provides access to these events. This is work-in-progress, to replace
354 the DeviceKit daemon functionality directly with libudev. There are
355 upcoming kernel changes to allow non-root users to subcribe to these
356 events.
357
358 udev 140
359 ========
360 Bugfixes.
361
362 "udevadm settle" now optionally accepts a range of events to wait for,
363 instead of waiting for "all" events.
364
365 udev 139
366 ========
367 Bugfixes.
368
369 The installed watch for block device metadata changes is now removed
370 during event hadling, because some (broken) tools may be called from udev
371 rules and (wrongly) open the device with write access. After the finished
372 event handling the watch is restored.
373
374 udev 138
375 ========
376 Bugfixes.
377
378 Device nodes can be watched for changes with inotify with OPTIONS="watch".
379 If closed after being opened for writing, a "change" uevent will occur.
380 /dev/disk/by-{label,uuid}/* symlinks will be automatically updated.
381
382 udev 137
383 ========
384 Bugfixes.
385
386 The udevadm test command has no longer a --force option, nodes and symlinks
387 are always updated with a test run now.
388
389 The udevd daemon can be started with --resolve-names=never to avoid all user
390 and group lookups (e.g. in cut-down systems) or --resolve-names=late to
391 lookup user and groups every time events are handled.
392
393 udev 136
394 ========
395 Bugfixes.
396
397 We are currently merging the Ubuntu rules in the udev default rules,
398 and get one step closer to provide a common Linux /dev setup, regarding
399 device names, symlinks, and default device permissions. On udev startup,
400 we now expect the following groups to be resolvable to their ids with
401 glibc's getgrnam():
402   disk, cdrom, floppy, tape, audio, video, lp, tty, dialout, kmem.
403 LDAP setups need to make sure, that these groups are always resolvable at
404 bootup, with only the rootfs mounted, and without network access available.
405
406 Some systems may need to add some new, currently not used groups, or need
407 to add some users to new groups, but the cost of this change is minimal,
408 compared to the pain the current, rather random, differences between the
409 various distributions cause for upstream projects and third-party vendors.
410
411 In general, "normal" users who log into a machine should never be a member
412 of any such group, but the device-access should be managed by dynamic ACLs,
413 which get added and removed for the specific users on login/logout and
414 session activity/inactivity. These groups are only provided for custom setups,
415 and mainly system services, to allow proper privilege separation.
416 A video-streaming daemon uid would be a member of "audio" and "video", to get
417 access to the sound and video devices, but no "normal" user should ever belong
418 to the "audio" group, because he could listen to the built-in microphone with
419 any ssh-session established from the other side of the world.
420
421 /dev/serial/by-{id,path}/ now contains links for ttyUSB devices,
422 which do not depend on the kernel device name. As usual, unique
423 devices - only a single one per product connected, or a real
424 USB serial number in the device - are always found with the same
425 name in the by-id/ directory.
426 Completely identical devices may overwrite their names in by-id/
427 and can only be found reliably in the by-path/ directory. Devices
428 specified by by-path/ must not change their connection, like the
429 USB port number they are plugged in, to keep their name.
430
431 To support some advanced features, Linux 2.6.22 is the oldest supported
432 version now. The kernel config with enabled SYSFS_DEPRECATED is no longer
433 supported. Older kernels should still work, and devices nodes should be
434 reliably created, but some rules and libudev will not work correctly because
435 the old kernels do not provide the expected information or interfaces.
436
437 udev 135
438 ========
439 Bugfixes.
440
441 Fix for a possible segfault while swapping network interface names in udev
442 versions 131-134.
443
444 udev 134
445 ========
446 Bugfixes.
447
448 The group "video" is part of the default rules now.
449
450 udev 133
451 ========
452 Bugfix for kernels using SYSFS_DEPRECATED* option and finding parent
453 block devices in some cases. No common distro uses this option anymore,
454 and we do not get enough testing for this and recent udev versions. If
455 this option is not needed to run some old distro with a new kernel,
456 it should be disabled in the kernel config.
457
458 Bugfix for the $links substitution variable, which may crash if no links
459 are created. This should not happen in usual setups because we always
460 create /dev/{block,char}/ links.
461
462 The strings of the parsed rules, which are kept in memory, no longer
463 contain duplicate entries, or duplicate tails of strings. This, and the
464 new rules parsing/matching code reduces the total in-memory size of
465 a huge distro rule sets to 0.08 MB, compared to the 1.2MB of udev
466 version 130.
467
468 The export of DEVTYPE=disk/partition got removed from the default
469 rules. This value is available from the kernel. The pnp shell script
470 modprobe hack is removed from the default rules. ACPI devices have _proper_
471 modalias support and take care of the same functionality.
472 Installations which support old kernels, but install current default
473 udev rules may want to add that to the compat rules file.
474
475 Libvolume_id now always probes for all known filesystems, and does not
476 stop at the first match. Some filesystems are marked as "exclusive probe",
477 and if any other filesytem type matches at the same time, libvolume_id
478 will, by default, not return any probing result. This is intended to prevent
479 mis-detection with conflicting left-over signatures found from earlier
480 file system formats. That way, we no longer depend on the probe-order
481 in case of multiple competing signatures. In some setups the kernel allows
482 to mount a volume with just the old filesystem signature still in place.
483 This may damage the new filesystem and cause data-loss, just by mounting
484 it. Because volume_id can not decide which one the correct signature is,
485 the wrong signatures need to be removed manually from the volume, or the
486 volume needs to be reformatted, to enable filesystem detection and possible
487 auto-mounting.
488
489 udev 132
490 ========
491 Fix segfault if compiled without optimization and dbg() does not get
492 compiled out and uses variables which are not available.
493
494 udev 131
495 ========
496 Bugfixes. (And maybe new bugs. :))
497
498 The rule matching engine got converted from a rule list to a token
499 array which reduced the in-memory rules representation of a full
500 featured distros with thousends of udev rules from 1.2MB to 0.12 MB.
501 Limits like 5 ENV and ATTR matches, and one single instance for most
502 other keys per rule are gone.
503
504 The NAME assignment is no longer special cased. If later rules assign
505 a NAME value again, the former value will be overwritten. As usual
506 for most other keys, the NAME value can be protected by doing a final
507 assignment with NAME:="<value>".
508
509 All udev code now uses libudev, which is also exported. The library
510 is still under development, marked as experimental, and its interface
511 may change as long as the DeviceKit integration is not finished.
512
513 Many thanks to Alan Jenkins for his continuous help, and finding and
514 optimizing some of the computing expensive parts.
515
516 udev 130
517 ========
518 Bugfixes.
519
520 Kernel devices and device nodes are connected now by reverse indizes in
521 /sys and /dev. A device number retrieved by a stat() or similar, the
522 kernel device directory can be found by looking up:
523   /sys/dev/{block,char}/<maj>:<min>
524 and the device node of the same device by looking up:
525   /dev/{block,char}/<maj>:<min>
526
527 udev 129
528 ========
529 Fix recently introduced bug, which caused a compilation without large
530 file support, where vol_id does not recognize raid signatures at the end
531 of a volume.
532
533 Firewire disks now create both, by-id/scsi-* and by-id/ieee-* links.
534 Seems some kernel versions prevent the creation of the ieee-* links,
535 so people used the scsi-* link which disappeared now.
536
537 More libudev work. Almost all udevadm functionality comes from libudev
538 now.
539
540 udevadm trigger has a new option --type, which allows to trigger events
541 for "devices", for "subsystems", or "failed" devices. The old option
542 --retry-failed" still works, but is no longer mentioned in the man page.
543
544 udev 128
545 ========
546 Bugfixes.
547
548 The udevadm info --device-id-of-file= output has changed to use
549 the obvious format. Possible current users should use the --export
550 option which is not affected.
551
552 The old udev commands symlinks to udevadm are not installed, if
553 these symlinks are used, a warning is printed.
554
555 udev 127
556 ========
557 Bugfixes.
558
559 Optical drive's media is no longer probed for raid signatures,
560 reading the end of the device causes some devices to malfunction.
561 Also the offset of the last session found is used now to probe
562 for the filesystem.
563
564 The volume_id library got a major version number update to 1,
565 some deprecated functions are removed.
566
567 A shared library "libudev" gets installed now to provide access
568 to udev device information. DeviceKit, the successor of HAL, will
569 need this library to access the udev database and search sysfs for
570 devices.
571 The library is currently in an experimental state, also the API is
572 expected to change, as long as the DeviceKit integration is not
573 finished.
574
575 udev 126
576 ========
577 We use ./configure now. See INSTALL for details. Current
578 options are:
579     --prefix=
580         "/usr" - prefix for man pages, include files
581     --exec-prefix=
582         "" - the root filesystem, prefix for libs and binaries
583     --sysconfdir=
584         "/etc"
585     --with-libdir-name=
586         "lib" - directory name for libraries, not a path name
587         multilib 64bit systems may use "lib64" instead of "lib"
588     --enable-debug
589         compile-in verbose debug messages
590     --disable-logging
591         disable all logging and compile-out all log strings
592     --with-selinux
593         link against SELInux libraries, to set the expected context
594         for created files
595
596 In the default rules, the group "disk" gets permissions 0660 instead
597 of 0640. One small step closer to unify distro rules. Some day, all
598 distros hopefully end up with the same set of rules.
599
600 No symlinks to udevadm are installed anymore, if they are still needed,
601 they should be provided by the package.
602
603 udev 125
604 ========
605 Bugfixes.
606
607 Default udev rules, which are not supposed to be edited by the user, should
608 be placed in /lib/udev/rules.d/ now, to make it clear that they are private to
609 the udev package and will be replaced with an update. Udev will pick up rule
610 files from:
611   /lib/udev/rules.d/  - default installed rules
612   /etc/udev/rules.d/  - user rules + on-the-fly generated rules
613   /dev/.udev/rules.d/ - temporary non-persistent rules created after bootup
614 It does not matter in which directory a rule file lives, all files are sorted
615 in lexical order.
616
617 To help creating /dev/root, we have now:
618   $ udevadm info --export --export-prefix="ROOT_" --device-id-of-file=/
619   ROOT_MAJOR=8
620   ROOT_MINOR=5
621 In case the current --device-id-of-file is already used, please switch to
622 the --export format version, it saves the output parsing and the old
623 format will be changed to use ':' as a separator, like the format in the
624 sysfs 'dev' file.
625
626 udev 124
627 ========
628 Fix cdrom_id to properly recognize blank media.
629
630 udev 123
631 ========
632 Bugfixes.
633
634 Tape drive id-data is queried from /dev/bsg/* instead of the tape
635 nodes. This avoids rewinding tapes on open().
636
637 udev 122
638 ========
639 Bugfixes.
640
641 The symlinks udevcontrol and udevtrigger are no longer installed by
642 the Makefile.
643
644 The scsi_id program does not depend on sysfs anymore. It can speak
645 SGv4 now, so /dev/bsg/* device nodes can be used, to query SCSI device
646 data, which should solve some old problems with tape devices, where
647 we better do not open all tape device nodes to identify the device.
648
649 udev 121
650 ========
651 Many bugfixes.
652
653 The cdrom_id program is replaced by an advanced version, which can
654 detect most common device types, and also properties of the inserted
655 media. This is part of moving some basic functionality from HAL into
656 udev (and the kernel).
657
658 udev 120
659 ========
660 Bugfixes.
661
662 The last WAIT_FOR_SYSFS rule is removed from the default rules.
663
664 The symlinks to udevadm for the debugging tools: udevmonitor and
665 udevtest are no longer created.
666
667 The symlinks to the udevadm man page for the old tool names are
668 no longer created.
669
670 Abstract namespace sockets paths in RUN+="socket:@<path>" rules,
671 should be prefixed with '@' to indicate that the path is not a
672 real file.
673
674 udev 119
675 ========
676 Bugfixes.
677
678 udev 118
679 ========
680 Bugfixes.
681
682 Udevstart is removed from the tree, it did not get installed for
683 a long time now, and is long replaced by trigger and settle.
684
685 udev 117
686 ========
687 Bugfixes.
688
689 All udev tools are merged into a single binary called udevadm.
690 The old names of the tools are built-in commands in udevadm now.
691 Symlinks to udevadm, with the names of the old tools, provide
692 the same functionality as the standalone tools. There is also
693 only a single udevadm.8 man page left for all tools.
694
695 Tools like mkinitramfs should be checked, if they need to include
696 udevadm in the list of files.
697
698 udev 116
699 ========
700 Bugfixes.
701
702 udev 115
703 ========
704 Bugfixes.
705
706 The etc/udev/rules.d/ directory now contains a default set of basic
707 udev rules. This initial version is the result of a rules file merge
708 of Fedora and openSUSE. For these both distros only a few specific
709 rules are left in their own file, named after the distro. Rules which
710 are optionally installed, because they are only valid for a specific
711 architecture, or rules for subsystems which are not always used are
712 in etc/udev/packages/.
713
714 udev 114
715 ========
716 Bugfixes.
717
718 Dynamic rules can be created in /dev/.udev/rules.d/ to trigger
719 actions by dynamically created rules.
720
721 SYMLINK=="<value>" matches agains the entries in the list of
722 currently defined symlinks. The links are not created in the
723 filesystem at that point in time, but the values can be matched.
724
725 RUN{ignore_error}+="<program>" will ignore any exit code from the
726 program and not record as a failed event.
727
728 udev 113
729 ========
730 Bugfixes.
731
732 Final merge of patches/features from the Ubuntu package.
733
734 udev 112
735 ========
736 Bugfixes.
737
738 Control characters in filesystem label strings are no longer silenty
739 removed, but hex-encoded, to be able to uniquely identify the device
740 by its symlink in /dev/disk/by-label/.
741 If libvolume_id is used by mount(8), LABEL= will work as expected,
742 if slashes or other characters are used in the label string.
743
744 To test the existence of a file, TEST=="<file>" and TEST!="<file>"
745 can be specified now. The TEST key accepts an optional mode mask
746 TEST{0100}=="<is executable file>".
747
748 Scsi_id now supports a mode without expecting scsi-specific sysfs
749 entries to allow the extraction of cciss-device persistent properties.
750
751 udev 111
752 ========
753 Bugfixes.
754
755 In the future, we may see uuid's which are just simple character
756 strings (see the DDF Raid Specification). For that reason vol_id now
757 exports ID_FS_UUID_SAFE, just like ID_FS_LABEL_SAFE. For things like
758 the creation of symlinks, the *_SAFE values ensure, that no control
759 or whitespace characters are used in the filename.
760
761 Possible users of libvolume_id, please use the volume_id_get_* functions.
762 The public struct will go away in a future release of the library.
763
764 udev 110
765 ========
766 Bugfixes.
767
768 Removal of useless extras/eventrecorder.sh.
769
770 udev 109
771 ========
772 Bugfixes.
773
774 udev 108
775 ========
776 Bugfixes.
777
778 The directory multiplexer for dev.d/ and hotplug.d are finally removed
779 from the udev package.
780
781 udev 107
782 ========
783 Bugfixes.
784
785 Symlinks can have priorities now, the priority is assigned to the device
786 and specified with OPTIONS="link_priority=100". Devices with higher
787 priorities overwrite the symlinks of devices with lower priorities.
788 If the device that currently owns the link, goes away, the symlink
789 will be removed, and recreated, pointing to the next device with the
790 highest actual priority. This should make /dev/disk/by-{label,uuid,id}
791 more reliable, if multiple devices contain the same metadata and overwrite
792 these symlinks.
793
794 The dasd_id program is removed from the udev tree, and dasdinfo, with the
795 needed rules, are part of the s390-tools now.
796
797 Please add KERNEL=="[0-9]*:[0-9]*" to the scsi wait-for-sysfs rule,
798 we may get the scsi sysfs mess fixed some day, and this will only catch
799 the devices we are looking for.
800
801 USB serial numbers for storage devices have the target:lun now appended,
802 to make it possibble to distinguish broken multi-lun devices with all
803 the same SCSI identifiers.
804
805 Note: The extra "run_directory" which searches and executes stuff in
806 /etc/hotplug.d/ and /etc/dev.d/ is long deprecated, and will be removed
807 with the next release. Make sure, that you don't use it anymore, or
808 provides your own implementation of that inefficient stuff.
809 We are tired of reports about a "slow udev", because these directories
810 contain stuff, that runs with _every_ event, instead of using rules,
811 that run programs only for the matching events.
812
813 udev 106
814 ========
815 Bugfixes.
816
817 udev 105
818 ========
819 Bugfixes.
820
821 DRIVER== will match only for devices that actually have a real
822 driver. DRIVERS== must be used, if parent devices should be
823 included in the match.
824
825 Libvolume_id's "linux_raid" detection needed another fix.
826
827 udev 104
828 ========
829 Bugfixes.
830
831 udev 103
832 ========
833 Add additional check to volume_id detection of via_raid, cause
834 some company decided to put a matching pattern all over the empty
835 storage area of their music players.
836
837 udev 102
838 ========
839 Fix path_id for SAS devices.
840
841 udev 101
842 ========
843 The udev daemon can be started with --debug-trace now, which will
844 execute all events serialized to get a chance to catch a possible
845 action that crashes the box.
846
847 A warning is logged, if PHYSDEV* keys, the "device" link, or a parent
848 device attribute like $attr{../file} is used, only WAIT_FOR_SYSFS rules
849 are excluded from the warning. Referencing parent attributes directly
850 may break when something in the kernel driver model changes. Udev will
851 just find the attribute by walking up the parent chain.
852
853 Udevtrigger now sorts the list of devices depending on the device
854 dependency, so a "usb" device is triggered after the parent "pci"
855 device.
856
857 udev 100
858 ========
859 Revert persistent-storage ata-serial '_' '-' replacement.
860
861 udev 099
862 ========
863 Bugfixes.
864
865 Udevtrigger can now filter the list of devices to be triggered. Matches
866 for subsystems or sysfs attributes can be specified.
867
868 The entries in /dev/.udev/queue and /dev/.udev/failed have changed to
869 zero-sized files to avoid pointing to /sys and confuse broken tools which
870 scan the /dev directory. To retry failed events, udevtrigger --retry-failed
871 should be used now.
872
873 The rules and scripts to create udev rules for persistent network
874 devices and optical drives are in the extras/rules_generator directory
875 now. If you use something similar, please consider replacing your own
876 version with this, to share the support effort. The rule_generator
877 installs its own rules into /etc/udev/rules.d.
878
879 The cdrom_id tool installs its own rule now in /etc/udev/rules.d, cause
880 the rule_generator depends on cdrom_id to be called in an earlier rule.
881
882 udev 098
883 ========
884 Bugfixes.
885
886 Renaming of some key names (the old names still work):
887 BUS -> SUBSYSTEMS, ID -> KERNELS, SYSFS -> ATTRS, DRIVER -> DRIVERS.
888 (The behavior of the key DRIVER will change soon in one of the next
889 releases, to match only the event device, please switch to DRIVERS
890 instead. If DRIVER is used, it will behave like DRIVERS, but an error
891 is logged.
892 With the new key names, we have a more consistent and simpler scheme.
893 We can match the properties of the event device only, with: KERNEL,
894 SUBSYSTEM, ATTR, DRIVER. Or include all the parent devices in the match,
895 with: KERNELS, SUBSYSTEMS, ATTRS, DRIVERS. ID, BUS, SYSFS, DRIVER are no
896 longer mentioned in the man page and should be switched in the rule
897 files.
898
899 ATTR{file}="value" can be used now, to write to a sysfs file of the
900 event device. Instead of:
901   ..., SYSFS{type}=="0|7|14", RUN+="/bin/sh -c 'echo 60 > /sys$$DEVPATH/timeout'"
902 we now can do:
903   ..., ATTR{type}=="0|7|14", ATTR{timeout}="60"
904
905 All the PHYSDEV* keys are deprecated and will be removed from a
906 future kernel:
907   PHYDEVPATH -    is the path of a parent device and should not be
908                   needed at all.
909   PHYSDEVBUS -    is just a SUBSYSTEM value of a parent, and can be
910                   matched with SUBSYSTEMS==
911   PHYSDEVDRIVER - for bus devices it is available as ENV{DRIVER}.
912                   Newer kernels will have DRIVER in the environment,
913                   for older kernels udev puts in. Class device will
914                   no longer carry this property of a parent and
915                   DRIVERS== can be used to match such a parent value.
916 Note that ENV{DRIVER} is only available for a few bus devices, where
917 the driver is already bound at device event time. On coldplug, the
918 events for a lot devices are already bound to a driver, and they will have
919 that value set. But on hotplug, at the time the kernel creates the device,
920 it can't know what driver may claim the device after that, therefore
921 in most cases it will be empty.
922
923 Failed events should now be re-triggered with:
924    udevtrigger --retry-failed.
925 Please switch to this command, so we keep the details of the /dev/.udev/failed/
926 files private to the udev tools. We may need to switch the current symlink
927 target, cause some obviously broken tools try to scan all files in /dev
928 including /dev/.udev/, find the links to /sys and end up stat()'ing sysfs files
929 million times. This takes ages on slow boxes.
930
931 The udevinfo attribute walk (-a) now works with giving a device node
932 name (-n) instead of a devpath (-p). The query now always works, also when
933 no database file was created by udev.
934
935 The built-in /etc/passwd /etc/group parser is removed, we always depend on
936 getpwnam() and getgrnam() now. One of the next releases will depend on
937 fnmatch() and may use getopt_long().
938
939 udev 097
940 ========
941 Bugfixes and small improvements.
942
943 udev 096
944 ========
945 Fix path_id for recent kernels.
946
947 udev 095
948 ========
949 %e is finally gone.
950
951 Added support for swapping network interface names, by temporarily
952 renaming the device and wait for the target name to become free.
953
954 udev 094
955 ========
956 The built-in MODALIAS key and substitution is removed.
957
958 udev 093
959 ========
960 The binary firmware helper is replaced by the usual simple
961 shell script. Udevsend is removed from the tree.
962
963 udev 092
964 ========
965 Bugfix release.
966
967 udev 091
968 ========
969 Some more keys require the correct use of '==' and '=' depending
970 on the kind of operation beeing an assignment or a match. Rules
971 with invalid operations are skipped and logged to syslog. Please
972 test with udevtest if the parsing of your rules throws errors and
973 fix possibly broken rules.
974
975 udev 090
976 ========
977 Provide "udevsettle" to wait for all current udev events to finish.
978 It also watches the current kernel netlink queue by comparing the
979 even sequence number to make sure that there are no current pending
980 events that have not already arrived in the daemon.
981
982 udev 089
983 ========
984 Fix rule to skip persistent rules for removable IDE devices, which
985 also skipped optical IDE drives.
986
987 All *_id program are installed in /lib/udev/ by default now.
988
989 No binary is stripped anymore as this should be done in the
990 packaging process and not at build time.
991
992 libvolume_id is provided as a shared library now and vol_id is
993 linked against it. Also one of the next HAL versions will require
994 this library, and the HAL build process will also require the
995 header file to be installed. The copy of the same code in HAL will
996 be removed to have only a single copy left on the system.
997
998 udev 088
999 ========
1000 Add persistent links for SCSI tapes. The rules file is renamed
1001 to 60-persistent-storage.rules.
1002
1003 Create persistent path for usb devices. Can be used for all sorts
1004 of devices that can't be distinguished by other properties like
1005 multiple identical keyboards and mice connected to the same box.
1006
1007 Provide "udevtrigger" program to request events on coldplug. The
1008 shell script is much too slow with thousends of devices.
1009
1010 udev 087
1011 ========
1012 Fix persistent disk rules to exclude removable IDE drives.
1013
1014 Warn if %e, $modalias or MODALIAS is used.
1015
1016 udev 086
1017 ========
1018 Fix queue export, which wasn't correct for subsequent add/remove
1019 events for the same device.
1020
1021 udev 085
1022 ========
1023 Fix cramfs detection on big endian.
1024
1025 Make WAIT_FOR_SYSFS usable in "normal" rules and silent if the whole
1026 device goes away.
1027
1028 udev 084
1029 ========
1030 If BUS== and SYSFS{}== have been used in the same rule, the sysfs
1031 attributes were only checked at the parent device that matched the
1032 by BUS requested subsystem. Fix it to also look at the device we
1033 received the event for.
1034
1035 Build variable CROSS has changed to CROSS_COMPILE to match the kernel
1036 build name.
1037
1038 udev 083
1039 ========
1040 Fix a bug where NAME="" would prevent RUN from beeing executed.
1041
1042 RUN="/bin/program" does not longer automatically add the subsystem
1043 as the first parameter. This is from the days of /sbin/hotplug
1044 which is dead now and it's just confusing to need to add a space at
1045 the end of the program name to prevent this.
1046 If you use rules that need the subsystem as the first parameter,
1047 like the old "udev_run_hotlugd" and "udev_run_devd", add the subsystem
1048 to the key like RUN+="/bin/program $env{SUBSYSTEM}".
1049
1050 udev 082
1051 ========
1052 The udev man page has moved to udev(7) as it does not describe a command
1053 anymore. The programs udev, udevstart and udevsend are no longer installed
1054 by default and must be copied manually, if they should be installed or
1055 included in a package.
1056
1057 Fix a bug where "ignore_device" could run earlier collected RUN keys before
1058 the ignore rule was applied.
1059
1060 More preparation for future sysfs changes. usb_id and scsi_id no longer
1061 depend on a magic order of devices in the /devices chain. Specific devices
1062 should be requested by their subsytem.
1063
1064 This will always find the scsi parent device without depending on a specific
1065 path position:
1066   dev = sysfs_device_get(devpath);
1067   dev_usb = sysfs_device_get_parent_with_subsystem(dev, "scsi");
1068
1069 The "device" link in the current sysfs layout will be automatically
1070 _resolved_ as a parent and in the new sysfs layout it will just _be_ the
1071 parent in the devpath. If a device is requested by it's symlink, like all
1072 class devices in the new sysfs layout will look like, it gets automatically
1073 resolved and substituted with the real devpath and not the symlink path.
1074
1075 Note:
1076 A similar logic must be applied to _all_ sysfs users, including
1077 scripts, that search along parent devices in sysfs. The explicit use of
1078 the "device" link must be avoided. With the future sysfs layout all
1079 DEVPATH's will start with /devices/ and have a "subsystem" symlink poiting
1080 back to the "class" or the "bus". The layout of the parent devices in
1081 /devices is not necessarily expected to be stable across kernel releases and
1082 searching for parents by their subsystem should make sysfs users tolerant
1083 for changed parent chains.
1084
1085 udev 081
1086 ========
1087 Prepare udev to work with the experimental kernel patch, that moves
1088 /sys/class devices to /sys/devices and /sys/block to /sys/class/block.
1089
1090 Clarify BUS, ID, $id usage and fix $id behavior. This prepares for
1091 moving the class devices to /sys/devices.
1092
1093 Thanks again to Marco for help finding a hopefully nice compromise
1094 to make %b simpler and working again.
1095
1096 udev 080
1097 ========
1098 Complete removal of libsysfs, replaced by simple helper functions
1099 which are much simpler and a bit faster. The udev daemon operatesentirely
1100 on event parameters and does not use sysfs for simple rules anymore.
1101 Please report any new bugs/problems, that may be caused by this big
1102 change. They will be fixed immediately.
1103
1104 The enumeration format character '%e' is deprecated and will be
1105 removed sometimes from a future udev version. It never worked correctly
1106 outside of udevstart, so we can't use it with the new parallel
1107 coldplug. A simple enumeration is as useless as the devfs naming
1108 scheme, just get rid of both if you still use it.
1109
1110 MODALIAS and $modalias is not needed and will be removed from one of
1111 the next udev versions, replace it in all rules with ENV{MODALIAS} or
1112 the sysfs "modalias" value.
1113
1114 Thanks a lot to Marco for all his help on finding and fixing bugs.
1115
1116 udev 079
1117 ========
1118 Let scsi_id request libata drive serial numbers from page 0x80.
1119
1120 Renamed etc/udev/persistent.rules to persistent-disk.rules and
1121 added /dev/disk/by-name/* for device mapper device names.
1122
1123 Removed %e from the man page. It never worked reliably outside
1124 of udevstart and udevstart is no longer recommended to use.
1125
1126 udev 078
1127 ========
1128 Symlinks are now exported to the event environment. Hopefully it's no
1129 longer needed to run udevinfo from an event process, like it was
1130 mentioned on the hotplug list:
1131   UDEV  [1134776873.702967] add@/block/sdb
1132   ...
1133   DEVNAME=/dev/sdb
1134   DEVLINKS=/dev/disk/by-id/usb-IBM_Memory_Key_0218B301030027E8 /dev/disk/by-path/usb-0218B301030027E8:0:0:0
1135
1136 udev 077
1137 ========
1138 Fix a problem if udevsend is used as the hotplug handler and tries to use
1139 syslog, which causes a "vc" event loop. 2.6.15 will make udevsend obsolete
1140 and this kind of problems will hopefully go away soon.
1141
1142 udev 076
1143 ========
1144 All built-in logic to work around bad sysfs timing is removed with this
1145 version. The need to wait for sysfs files is almost fixed with a kernel
1146 version that doesn't work with this udev version anyway. Until we fix
1147 the timing of the "bus" link creation, the former integrated logic should
1148 be emulated by a rule placed before all other rules:
1149   ACTION=="add", DEVPATH=="/devices/*", ENV{PHYSDEVBUS}=="?*", WAIT_FOR_SYSFS="bus"
1150
1151 The option "udev_db" does no longer exist. All udev state will be in
1152 /$udev_root/.udev/ now, there is no longer an option to set this
1153 to anything else.
1154 If the init script or something else used this value, just depend on
1155 this hardcoded path. But remember _all_content_ of this directory is
1156 still private to udev and can change at any time.
1157
1158 Default location for rule sripts and helper programs is now: /lib/udev/.
1159 Everything that is not useful on the commandline should go into this
1160 directory. Some of the helpers in the extras folder are installed there
1161 now. The rules need to be changed, to find the helpers there.
1162
1163 Also /lib/udev/devices is recommended as a directory where packages or
1164 the user can place real device nodes, which get copied over to /dev at
1165 every boot. This should replace the various solutions with custom config
1166 files.
1167
1168 Udevsend does no longer start the udev daemon. This must be done with
1169 the init script that prepares /dev on tmpfs and creates the initial nodes,
1170 before starting the daemon.
1171
1172 udev 075
1173 ========
1174 Silent a too verbose error logging for the old hotplug.d/ dev.d/
1175 emulation.
1176
1177 The copy of klibc is removed. A systemwide installed version of klibc
1178 should be used to build a klibc udev now.
1179
1180 udev 074
1181 ========
1182 NAME="" will not create any nodes, but execute RUN keys. To completely
1183 ignore an event the OPTION "ignore_device" should be used.
1184
1185 After removal of the reorder queue, events with a TIMEOUT can be executed
1186 without any queuing now.
1187
1188 udev 073
1189 ========
1190 Fixed bug in udevd, if inotify is not available. We depend on netlink
1191 uevents now, kernels without that event source will not work with that
1192 version of udev anymore.
1193
1194 udev 072
1195 ========
1196 The rule parsing happens now in the daemon once at startup, all udev
1197 event processes inherit the already parsed rules from the daemon.
1198 It is shipped with SUSE10.0 and reduces heavily the system load at
1199 startup. The option to save precompiled rules and let the udev process
1200 pick the them up is removed, as it's no longer needed.
1201
1202 Kernel 2.6.15 will have symlinks at /class/input pointing to the real
1203 device. Libsysfs is changed to "translate" the requested link into the
1204 real device path, as it would happen with the hotplug event. Otherwise
1205 device removal and the udev database will not work.
1206
1207 Using 'make STRIPCMD=' will leave the binaries unstripped for debugging
1208 and packaging.
1209
1210 A few improvements for vol_id, the filesytem probing code.
1211
1212 udev 071
1213 ========
1214 Fix a stupid typo in extras/run_directory for "make install".
1215
1216 scsi_id creates the temporary devnode now in /dev for usage with a
1217 non-writable /tmp directory.
1218
1219 The uevent kernel socket buffer can carry app. 50.000 events now,
1220 let's see who can break this again. :)
1221
1222 The upcoming kernel will have a new input driver core integration.
1223 Some class devices are now symlinks to the real device. libsysfs
1224 needs a fix for this to work correctly. Udevstart of older udev
1225 versions will _not_ create these devices!
1226
1227 udev 070
1228 ========
1229 Fix a 'install' target in the Makefile, that prevents EXTRAS from
1230 beeing installed.
1231
1232 udev 069
1233 ========
1234 A bunch of mostly trivial bugfixes. From now on no node name or
1235 symlink name can contain any character than plain whitelisted ascii
1236 characters or validated utf8 byte-streams. This is needed for the
1237 /dev/disk/by-label/* links, because we import untrusted data and
1238 export it to the filesystem.
1239
1240 udev 068
1241 ========
1242 More bugfixes. If udevd was started from the kernel, we don't
1243 have stdin/stdout/stderr, which broke the forked tools in some
1244 situations.
1245
1246 udev 067
1247 ========
1248 Bugfix. udevstart event ordering was broken for a long time.
1249 The new run_program() uncovered it, because /dev/null was not
1250 available while we try to run external programs.
1251 Now udevstart should create it before we run anything.
1252
1253 udev 066
1254 ========
1255 Minor bugfixes and some distro rules updates. If you don't have the
1256 persistent disk rules in /dev/disk/by-*/* on your distro, just
1257 grab it from here. :)
1258
1259 udev 065
1260 ========
1261 We can use socket communication now to pass events from udev to
1262 other programs:
1263   RUN+="socket:/org/freedesktop/hal/udev_event"
1264 will pass the whole udev event to the HAL daemon without the need
1265 for a forked helper. (See ChangeLog for udevmonitor, as an example)
1266
1267 udev 064
1268 ========
1269 Mostly bugfixes and see ChangeLog.
1270
1271 The test for the existence of an environment value should be
1272 switched from:
1273   ENV{KEY}=="*" to ENV{KEY}=="?*"
1274 because "*" will not fail anymore, if the key does not exist or
1275 is empty.
1276
1277 udev 063
1278 ========
1279 Bugfixes and a few tweaks described in the ChangeLog.
1280
1281 udev 062
1282 ========
1283 Mostly a Bugfix release.
1284
1285 Added WAIT_FOR_SYSFS="<attribute>" to be able to fight against the sysfs
1286 timing with custom rules.
1287
1288 udev 061
1289 ========
1290 We changed the  internal rule storage format. Our large rule files took
1291 2 MB of RAM, with the change we are down to 99kB.
1292
1293 If the device-node has been created with default name and no symlink or
1294 options are to remenber, it is not longer stored in the udevdb. HAL will
1295 need to be updated to work correctly with that change.
1296
1297 To overrride optimization flags, OPTFLAGS may be used now.
1298
1299 udev 060
1300 ========
1301 Bugfix release.
1302
1303 udev 059
1304 ========
1305 Major changes happened with this release. The goal is to take over the
1306 complete kernel-event handling and provide a more efficient way to dispatch
1307 kernel events. Replacing most of the current shell script logic and the
1308 kernel forked helper with a netlink-daemon and a rule-based event handling.
1309
1310 o udevd listens to netlink events now. The first valid netlink event
1311   will make udevd ignore any message from udevsend that contains a
1312   SEQNUM, to avoid duplicate events. The forked events can be disabled
1313   with:
1314     echo "" > /proc/sys/kernel/hotplug
1315   For full support, the broken input-subsytem needs to be fixed, not to
1316   bypass the driver core.
1317
1318 o /etc/dev.d/ + /etc/hotplug.d/ directory multiplexing is completely
1319   removed from udev itself and must be emulated by calling small
1320   helper binaries provided in the extras folder:
1321     make EXTRAS=extras/run_directory/
1322   will build udev_run_devd and udev_run_hotplugd, which can be called
1323   from a rule if needed:
1324     RUN+="/sbin/udev_run_hotplugd"
1325   The recommended way to handle this is to convert all the calls from
1326   the directories to explicit udev rules and get completely rid of the
1327   multiplexing. (To catch a ttyUSB event, you now no longer need to
1328   fork and exit 300 tty script instances you are not interested in, it
1329   is just one rule that matches exactly the device.)
1330
1331 o udev handles now _all_ events not just events for class and block
1332   devices, this way it is possible to control the complete event
1333   behavior with udev rules. Especially useful for rules like:
1334     ACTION="add", DEVPATH="/devices/*", MODALIAS=="?*", RUN+="/sbin/modprobe $modalias"
1335
1336 o As used in the modalias rule, udev supports now textual
1337   substitution placeholder along with the usual format chars. This
1338   needs to be documented, for now it's only visible in udev_rules_parse.c.
1339
1340 o The rule keys support now more operations. This is documented in the
1341   man page. It is possible to add values to list-keys like the SYMLINK
1342   and RUN list with KEY+="value" and to clear the list by assigning KEY="".
1343   Also "final"-assignments are supported by using KEY:="value", which will
1344   prevent changing the key by any later rule.
1345
1346 o kernel 2.6.12 has the "detached_state" attribute removed from
1347   sysfs, which was used to recognize sysfs population. We switched that
1348   to wait for the "bus" link, which is only available in kernels after 2.6.11.
1349   Running this udev version on older kernels may cause a short delay for
1350   some events.
1351
1352 o To provide infrastructure for persistent device naming, the id programs:
1353   scsi_id, vol_id (former udev_volume_id), and ata_id (new) are able now
1354   to export the probed data in environment key format:
1355     pim:~ # /sbin/ata_id --export /dev/hda
1356     ID_MODEL=HTS726060M9AT00
1357     ID_SERIAL=MRH401M4G6UM9B
1358     ID_REVISION=MH4OA6BA
1359
1360   The following rules:
1361     KERNEL="hd*[!0-9]", IMPORT="/sbin/ata_id --export $tempnode"
1362     KERNEL="hd*[!0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_MODEL}_$env{ID_SERIAL}"
1363
1364   Will create:
1365     kay@pim:~> tree /dev/disk
1366     /dev/disk
1367     |-- by-id
1368     |   |-- HTS726060M9AT00_MRH401M4G6UM9B -> ../../hda
1369     |   `-- IBM-Memory_Key -> ../../sda
1370     |-- by-label
1371     |   |-- swap -> ../../hda1
1372     |   |-- date -> ../../sda1
1373     |   `-- home -> ../../hda3
1374     `-- by-uuid
1375         |-- 2E08712B0870F2E7 -> ../../hda3
1376         |-- 9352cfef-7687-47bc-a2a3-34cf136f72e1 -> ../../hda1
1377         |-- E845-7A89 -> ../../sda1
1378         `-- b2a61681-3812-4f13-a4ff-920d70604299 -> ../../hda2
1379
1380   The IMPORT= operation will import these keys in the environment and make
1381   it available for later PROGRAM= and RUN= executed programs. The keys are
1382   also stored in the udevdb and can be queried from there with one of the
1383   next udev versions.
1384
1385 o A few binaries are silently added to the repository, which can be used
1386   to replay kernel events from initramfs instead of using coldplug. udevd
1387   can be instructed now to queue-up events while the stored events from
1388   initramfs are filled into the udevd-queue. This code is still under
1389   development and there is no documentation now besides the code itself.
1390   The additional binaries get compiled, but are not installed by default.
1391
1392 o There is also a temporary fix for a performance problem where too many
1393   events happen in parallel and every event needs to parse the rules.
1394   udev can now read precompiled rules stored on disk. This is likely to be
1395   replaced by a more elegant solution in a future udev version.
1396
1397 udev 058
1398 ========
1399 With kernel version 2.6.12, the sysfs file "detached_state" was removed.
1400 Fix for libsysfs not to expect this file was added.
1401
1402 udev 057
1403 ========
1404 All rules are applied now, but only the first matching rule with a NAME-key
1405 will be applied. All later rules with NAME-key are completely ignored. This
1406 way system supplied symlinks or permissions gets applied to user-defined
1407 naming rules.
1408
1409 Note:
1410 Please check your rules setup, if you may need to add OPTIONS="last_rule"
1411 to some rules, to keep the old behavior.
1412
1413 The rules are read on "remove"-events too. That makes is possible to match
1414 with keys that are available on remove (KERNEL, SUBSYSTEM, ID, ENV, ...) to
1415 instruct udev to ignore an event (OPTIONS="ignore_device").
1416 The new ACTION-key may be used to let a rule act only at a "remove"-event.
1417
1418 The new RUN-key supports rule-based execution of programs after device-node
1419 handling. This is meant as a general replacement for the dev.d/-directories
1420 to give fine grained control over the execution of programs.
1421
1422 The %s{}-sysfs format char replacement values are searched at any of the
1423 devices in the device chain now, not only at the class-device.
1424
1425 We support log priority levels now. The value udev_log in udev.conf is used
1426 to determine what is printed to syslog. This makes it possible to
1427 run a version with compiled-in debug messages in a production environment
1428 which is sometimes needed to find a bug.
1429 It is still possible to supress the inclusion of _any_ syslog usage with
1430 USE_LOG=false to create the smallest possible binaries if needed.
1431 The configured udev_log value can be overridden with the environment variable
1432 UDEV_LOG.
1433
1434 udev 056
1435 ========
1436 Possible use of a system-wide klibc:
1437   make USE_KLIBC=true KLCC=/usr/bin/klcc all
1438 will link against an external klibc and our own version will be ignored.
1439
1440 udev 055
1441 ========
1442 We support an unlimited count of symlinks now.
1443
1444 If USE_STATIC=true is passed to a glibc build, we link statically and use
1445 a built-in userdb parser to resolve user and group names.
1446
1447 The PLACE= key is gone. It can be replaced by an ID= for a long time, because
1448 we walk up the chain of physical devices to find a match.
1449
1450 The KEY="<value>" format supports '=', '==', '!=,' , '+=' now. This makes it
1451 easy to skip certain attribute matches without composing rules with weird
1452 character class negations like:
1453   KERNEL="[!s][!c][!d]*"
1454 this can now be replaced with:
1455   KERNEL!="scd*"
1456 The current simple '=' is still supported, and should work as it does today,
1457 but existing rules should be converted if possible, to be better readable.
1458
1459 We have new ENV{}== key now, to match against a maximum of 5 environment
1460 variables.
1461
1462 udevstart is its own binary again, because we don't need co carry this araound
1463 with every forked event.