chiark / gitweb /
[PATCH] udev - reverse user query options
[elogind.git] / ChangeLog
1 Summary of changes from v012 to v013
2 ============================================
3
4 <eike-hotplug:sf-tec.de>:
5   o LSB init script and other stuff
6
7 <elkropac:students.zcu.cz>:
8   o fix udev directory for Debian init script
9
10 <tiggi:infa.abo.fi>:
11   o udev 012 old gcc fixup
12
13 Christophe Saout:
14   o add IGNORE rule type
15   o small cleanup
16
17 Greg Kroah-Hartman:
18   o update TODO with some new, small items
19   o Cset exclude: greg@kroah.com|ChangeSet|20040113010256|48515
20   o update the README in a few places
21   o fix -d typo in the manpage update
22   o Fix stupid gcc "optimization" of 1 character printk() calls.... Ick
23   o oops, forgot to fix up the PROGRAM result from ID to RESULT in the config files
24   o Add alsa device rules and a few other devfs rules
25   o fix a few stale comments in namedev.c
26   o convert the default rules files to the new format
27   o convert the test shell scripts to the config file format
28   o add bus test for usb-serial bus
29   o Add some helpful messages if the user uses the older config file format
30   o added dri rule to the default config file
31   o added init.d udev script for debian
32   o add a script that tests the IGNORE rule
33   o add silly script that names cdrom drives based on the cd in them
34   o add cdrom rule for ide cdrom
35   o replace list_for_each with list_for_each_entry, saving a few lines of code
36   o add a blacklist of class devices we do not want to look at
37
38 Kay Sievers:
39   o fix klibc with printf() and gcc
40   o udev - small script optimization
41   o udev - introduce format escape char
42   o udev - more CALLOUT is PROGRAM now
43   o udev - CALLOUT is PROGRAM now
44   o update documentation for new config file format
45   o more advanced user query options
46   o udev - simple debug tweak
47   o udev - drop all methods :)
48   o udev - advanced user query options
49   o udev - Makefile error
50   o udev - make exec_callout() reusable
51   o udev - exec status fix for klibc
52   o fix Silly udev script
53
54
55 Summary of changes from v011 to v012
56 ============================================
57
58 <azarah:nosferatu.za.org>:
59   o make symlink work properly if there is already a file in its place
60   o Fix udev gcc-2.95.4 compat
61
62 <christophe.varoqui:free.fr>:
63   o extras multipath update
64   o extras multipath update
65
66 Kay Sievers:
67   o mention user callable udev + options in man page
68   o make udev user callable to query the database
69   o depend on all .h files
70   o cleanup namedev_parse debug text
71   o extend exec_program[]
72   o ide-devfs.sh update
73   o fix for apply_format()
74   o check for empty symlink string
75   o 'ide' missing in bus_files[]
76   o small trivial cleanup of latest changes
77
78 <mbuesch:freenet.de>:
79   o introduce signal handler
80
81 <rml:ximian.com>:
82   o udev spec file update
83
84 Greg Kroah-Hartman:
85   o minor grammer fixes for the udev_vs_devfs document
86   o move the dbus config file to etc/dbus-1/system.d/
87   o move the config files to etc/udev to clean up main directory a bit
88   o add Gentoo versions of the rules and permissions files
89   o if using glibc, link dynamically, as no one like 500Kb udev binaries
90   o minor change to udev_vs_devfs document
91   o added udev vs devfs supid document to the tree
92   o move the signal handling registration to after we have initialized enough stuff
93   o make ide-devfs.sh executable in the tree
94   o udev.permissions.debian - forgot the dm nodes
95   o update the udev.permissions.debian file with new entries
96   o added udev.init script for the Linux From Scratch project
97
98
99
100 Summary of changes from v010 to v011
101 ============================================
102
103 <mbuesch:freenet.de>:
104   o proper cleanup on udevdb_init() failure
105
106 <mh:nadir.org>:
107   o patch udev 009-010 rpm spec file
108
109 <svetljo:gmx.de>:
110   o fix udev sed Makefile usage
111
112 Greg Kroah-Hartman:
113   o add documentation about the BUS key being optional for the LABEL rule
114   o add tests for LABEL rule with a device that has no bus
115   o Don't require the BUS value for the LABEL rule
116   o If a LABEL rule has a BUS id, then we must check to see if the device is on a bus
117   o add documentation about the BUS key being optional for the CALLOUT rule
118   o If a CALLOUT rule has a BUS id, then we must check to see if the device is on a bus
119   o Don't require the BUS value for the CALLOUT rule
120   o add test for callout rule with a device that has no bus
121   o 010_bk stamp
122   o added different build options to the rpm udev.spec file
123   o add pci to the bus_files list
124   o check for empty line a bit better in the parser
125   o more init script cleanups, the stop target now calls udev to cleanup instead of just removing the whole /udev directory
126   o make udev init script run udev in the background to let startup go much faster
127   o fix long delay for all devices in namedev
128
129
130 Summary of changes from v009 to v010
131 ============================================
132
133 <ananth:in.ibm.com>:
134   o change pgsize
135
136 <christophe.varoqui:free.fr>:
137   o extras multipath update
138   o extras multipath update
139   o extras multipath update
140   o extras multipath update
141
142 Kay Sievers:
143   o fix udev-test.pl
144   o small cleanup udev-remove.c
145   o experimental CALLOUT script for devfs ide node creation with cd, disc, part
146   o add any valid device
147   o introduce format char 'k' for kernel-name
148   o trivial make fixes
149   o don't overwrite old config on install
150   o udev-remove.c cleanups
151   o bug in udev-remove.c
152   o trivial cleanup parser changes
153
154 <roman.kagan:itep.ru>:
155   o fix comment and whitespace handling in config files
156
157 Adam Kropelin:
158   o Allow build with empty EXTRAS
159
160 Daniel E. F. Stekloff:
161   o libsysfs 0.4.0 patch
162   o fix scsi_id segfault with udev-009
163   o add libsysfs docs
164
165 David T. Hollis:
166   o mark config files as such in the rpm spec file
167
168 Greg Kroah-Hartman:
169   o fix complier warning in namedev.c
170   o add documentation for the new '%k' modifier (kernel name replacement)
171   o add documentation about the multiple sysfs values that are now allowed for the LABEL rule
172   o add tests for multi-file LABEL rules
173   o add ability to have up to 5 SYSFS_ file/value pairs for the LABEL rule
174   o Just live with a sleep(1) in namedev for now until libsysfs is fixed up
175   o try to wait until the proper device file shows up in sysfs
176   o remove unneeded TODO and FIXME entry
177   o clean up the stand-alone tests to work properly on other people's machines
178   o add tests to catch whitespace and comment config file parsing errors
179
180
181 Summary of changes from v008 to v009
182 ============================================
183
184 <christophe.varoqui:free.fr>:
185   o more extras/multipath changes
186   o and more extras/multipath updates
187   o more extras/multipath updates
188   o yet more extras/multipath
189   o more extras/multipath updates
190   o extras/multipath update
191
192 <david:fubar.dk>:
193   o D-BUS patch for udev-008
194
195 <eike-hotplug:sf-tec.de>:
196   o add init.d/udev to "make install"
197   o add init.d/udev to the spec file
198
199 Kay Sievers:
200   o don't rely on field order in namedev_parse
201   o get part of callout return string
202   o remove '\n' from end of callout return
203   o man-page mention multiple symlinks
204   o allow multiple symlinks
205   o cleanup man & remove symlink comment
206   o experimental (very simple) SYMLINK creation
207   o man page beauty
208   o pattern match for label method
209   o a bug in linefeed removal
210
211 <rml:ximian.com>:
212   o remove udev from runlevels on uninstall
213   o install initscript in udev rpm
214
215 Daniel E. F. Stekloff:
216   o pre-libsysfs-0.4.0 patch
217
218 Greg Kroah-Hartman:
219   o signal fixes due to klibc update
220   o sync klibc with release 0.95
221   o add mol permissions to the debian permissions file
222   o update the FAQ with info about bad modprobe events from the devfs scheme
223   o some cleanups due to the need for LABEL rules to use "SYSFS_" now
224   o Add restart target to the etc/init.d/udev script
225   o tweak the config file generation portion of the Makefile a bit
226   o change devfs disk name rule from 'disk' to 'disc'
227   o add vc support to udev.rules.devfs
228   o added a devfs udev config file from Marco d'Itri <md@Linux.IT>
229   o set default mode to 0600 to be safer
230   o Makefile tweaks for the DBUS build
231   o update the FAQ due to the latest devfs mess on lkml and also due to symlinks now working
232   o document the different Makefile config options that we have
233   o change USE_DBUS to DBUS in Makefile, and disable it by default as it's still to hard to build on all systems
234   o fix formatting of udev_dbus.c to use tabs.  Also get it to build properly now
235   o move all of the DBUS logic into one file and remove all of the #ifdef crud from the main code
236
237 Olaf Hering:
238   o dump latest klibc into the udev build tree
239   o use udevdir in udev.conf
240
241 Patrick Mansfield:
242   o better allow builds of extras programs under udev
243   o update udev extras/scsi_id to version 0.2
244
245
246 Summary of changes from v007 to v008
247 ============================================
248
249 <azarah:nosferatu.za.org>:
250   o more config file parsing robustness
251
252 <christophe.varoqui:free.fr>:
253   o udev-007/extras/multipath update
254
255 Arnd Bergmann:
256   o Build failure - missing linux/limits.h include?
257   o Add format modifier for devfs like naming
258   o klibc makefile fixes
259
260 Daniel E. F. Stekloff:
261   o another patch for path problem
262   o quick fix for libsysfs bus
263   o libsysfs changes for sysfsutils 0.3.0
264
265 Greg Kroah-Hartman:
266   o fix up some duplicated function compiler warnings in libsysfs
267   o fix some compiler warnings in the tdb code
268   o Added Kay's name to the man page
269   o update the wildcard documentation in the man page to show the new styles supported
270   o fix permission handling logic
271   o enable default_mode ability to actually build
272   o add support for the default_mode variable, as it is documented
273   o show permissions and groups in the label_test
274   o remove some items off of the TODO list, as they are now done
275   o fix up the tests to work without all of the environ variables
276   o get rid of the majority of the debug environment variables
277   o Update the man page to show the new config file, it's format, and how to use it
278   o fix up the tests to support the rules file name change
279   o add support for a main udev config file, udev.conf
280   o turn debugging messages off by default
281   o split out the namedev config parsing logic to namedev_parse.c
282   o rename namedev's get_attr() to be main namedev_name_device() as that's what it really is
283   o add devfs like tty rules as an example in the default config file
284   o operate on the rules in the order they are in the config file (within the rule type) instead of operating on them backwards.
285   o Cset exclude: dsteklof@us.ibm.com|ChangeSet|20031126173159|56255
286   o add test for checking the BUS value
287   o fix problem where we were not looking at the BUS value
288   o add scsi and pci bus links in the test sysfs tree
289   o add test and documentation for new %D devfs format modifier
290   o changed the default location of the database to /udev/.udev.tdb to be LSB compliant
291   o get rid of functions in klibc_fixups that are now in klibc
292   o sync up with the 0.84 version of klibc
293   o fix udev init.d script to handle all class devices in sysfs
294   o fix the test.block and test.tty scripts due to their moveing.  Also add a test.all script
295   o 007_bk version change to Makefile
296
297 Kay Sievers:
298   o pattern matching for namedev
299   o catch replace device by wildcard
300   o udev.8 tweak numeric id text
301   o udev-test.pl add subdir test
302   o namedev.c strcat tweak
303   o overall whitespace + debug text conditioning
304   o udev-test.pl - tweaks
305
306 Martin Hicks:
307   o Add -nodefaultlibs while compiling against klibc
308
309 Olaf Hering:
310   o ARCH detection for ppc
311
312 Patrick Mansfield:
313   o fix udev parallel builds with klibc
314
315
316 Summary of changes from v006 to v007
317 ============================================
318
319 <md:linux.it>:
320   o fix segfault in parsing bad udev.permissions file
321
322 Greg Kroah-Hartman:
323   o update default config file with a CALLOUT rule, and more documentation
324   o updated the man page with the latest format specifier changes
325   o added ability to put format specifiers in the CALLOUT program string
326   o tweak udev-test.pl to report '0' errors if that's what happened
327   o only build klibc_fixups.c if we are actually using klibc
328   o add support for string group and string user names in udev.permissions
329   o add getgrnam and getpwnam to klibc_fixups files
330   o remove Makefile.klibc
331   o add udev-test perl script from Kay Sievers <kay.sievers@vrfy.org> which blows away my puny shell scripts
332   o added debian's version of udev.permissions
333   o change to 006_bk version
334
335 Kay Sievers:
336   o format char for CALLOUT output
337   o more namedev whitespace cleanups
338   o support arguments in callout exec
339   o namedev.c - change order of fields in CALLOUT
340   o namedev.c whitespace + debug text cleanup
341   o man page with udev.permissions wildcard
342
343 Olaf Hering:
344   o static klibc udev does not link against crt0.o
345
346 Summary of changes from v005 to v006
347 ============================================
348
349 <chris_friesen:sympatico.ca>:
350   o faster test scripts
351
352 Arnd Bergmann:
353   o more robust config file parsing in namedev.c
354   o add bus id modifier
355
356 Daniel E. F. Stekloff:
357   o patch for libsysfs sysfs directory handling
358
359 Greg Kroah-Hartman:
360   o add another line to udev.permissions in the proper format
361   o tweak replace_test
362   o fix permissions to work properly now
363   o add real udev.permissions file to test directory
364   o fix namedev.c to build with older version of gcc
365   o add dumb test for all of the different modifiers
366   o update the TODO list with more items that people can easily do
367   o move the test.block and test.tty scripts to the test/ directory
368   o add remove actions to the test scripts
369   o turn DEBUG_PARSER off by default
370   o add some documentation for the %b modifier to the default config file
371   o fix make install rule for when the udev symlink is already there
372   o change release target in makefile
373   o change debug level on printf values for now
374   o updated demo config file
375   o add some documentation of the modifiers to the default config file
376   o add demo config file
377   o updated bk ignore list for klibc generated files
378   o add printf option to label test to verify it works
379   o fix up printf-like functionality due to previous changes
380   o get the major/minor number before we name the device
381   o add scsi_id "extra" program from Patrick Mansfield <patmans@us.ibm.com>
382   o Add multipath "extra" program from Christophe Varoqui, <christophe.varoqui@free.fr>
383   o trailing whitespace cleanups
384   o splig LABEL and NUMBER into separate functions
385   o add TOPO regression test
386   o move TOPOLOGY rule to it's own function
387   o fix bug where NUMBER and TOPOLOGY would not work for partitions
388   o clean up the way we find the sysdevice for a block device for namedev
389   o updated label test script (tests for partitions now.)
390   o split REPLACE and CALLOUT into separate functions
391   o add debug line for REPLACE call
392   o add replace test
393   o add more sysfs test tree files
394   o change UDEV_SYSFS_PATH environment variable due to libsysfs change
395   o fix bug in klibc's isspace function
396   o fix udev-add.c to build properly with older versions of gcc
397   o add prototype for ftruncate to klibc
398   o Remove a few items from the TODO list that are already done
399   o version number to 005_bk
400   o pull some klibc stuff into the make Makefile to try to stay in sync
401   o klibc build fixes
402
403 Kay Sievers:
404   o apply permissions.conf support for wildcard and default name
405   o man page with included placeholder list
406   o implement printf-like placeholder support for NAME
407   o more manpage tweaks
408   o add support for subdirs
409   o add uid/gid to nodes
410
411 Olaf Hering:
412   o DESTDIR for udev
413
414 Paul Mundt:
415   o Fixup path for kernel includes when building with klibc
416
417 Robert Love:
418   o udev init script
419
420
421 Summary of changes from v004 to v005
422 ============================================
423
424 <kay:vrfy.org>:
425   o namedev.c comments + debug patch
426   o man page update
427
428 Greg Kroah-Hartman:
429   o ignore the klibc/linux symlink
430   o add klibc linux symlink info to the README
431   o get 'make release' to work properly again
432   o added README info for how to build using klibc
433   o turn off debugging if we are building with klibc
434   o turn off debugging in namedev
435   o added vsyslog support to klibc
436   o add ftruncate to klibc
437   o klibc specific tweaks
438   o libsysfs does not need mntent.h in it's header file
439   o udev build tweaks to tdb's spinlock code
440   o klibc makefile changes
441   o build tdb and libsysfs from the same makefile as udev
442   o udev-add build cleanups for other libc versions
443   o tweak tdb to build within udev better
444   o make libsysfs spit debug messages to the same place as the rest of udev
445   o make libsysfs build cleanly
446   o updated bk ignore list
447   o added klibc version 0.82 (cvs tree) to the udev tree
448   o makefile fix for now
449   o Merge greg@bucket:/home/greg/src/udev into kroah.com:/home/greg/src/udev
450   o hm, makefile bug with so many files...  will fix later
451   o regression tests starting to be added
452   o fix LABEL bug for device files (not class files.)
453   o more warning flags to the build
454   o got rid of struct device_attr
455   o rename namedev.permissions and namedev.config to udev.permissions and udev.config
456   o fix dbg line in namedev.c
457   o more overrides of config info with env variables if in test mode
458   o Fix bug causing udev to sleep forever waiting for dev file to show up
459   o change version to 004_bk
460   o make config files, sysfs root, and udev root configurable from config variables
461   o 004 changelog entrys TAG: v004
462
463 Robert Love:
464   o udev: sleep_for_dev() bits
465   o udev: another canidate for static
466
467
468 Summary of changes from v003 to v004
469 ============================================
470
471 Daniel E. F. Stekloff:
472   o new version of libsysfs patch
473
474 Greg Kroah-Hartman:
475   o 004 release
476   o major database cleanups
477   o Changed test.block and test.tty to take ACTION from the command line
478   o don't sleep if 'dev' file is already present on device add
479   o fix comment about how the "dev" file is made up
480   o more database work.  Now we only store the info we really need right now
481   o add BUS= bug to TODO list so it will not get forgotten
482   o spec file changes
483   o test.block changes
484   o ok, rpm likes the "_" character instead of "-" better
485   o change the version to 003-bk to keep things sane with people using the bk tree
486   o got "remove of named devices" working
487   o fix segfaults when dealing with partitions
488   o update changelog for 003 release TAG: v003
489
490 Kay Sievers:
491   o man file update
492   o man page update
493
494 Robert Love:
495   o udev: mode should be mode_t
496   o udev: trivial trivialities
497   o udev: cool test scripts again
498   o udev spec file symlink support
499   o udev: cool test scripts
500   o udev spec file bits
501
502
503 Summary of changes from v0.2 to v003
504 ============================================
505
506 Daniel E. F. Stekloff:
507   o udevdb patch
508   o udevdb prototype
509
510 Greg Kroah-Hartman:
511   o update the spec file for the new version and install process
512   o fix makefile release rule to not drop tdb.h file
513   o Add FAQ for udev
514   o removed AUTHORS and INSTALL files as they were pretty pointless
515   o copyright updates
516   o Add AUTHORS and INSTALL files
517   o TODO updates
518   o Updatd the README
519   o updated the TODO list
520   o add udev man page (basically just a place holder for now.)
521   o added uninstall support
522   o added install target for makefile so people don't have to do it by hand anymore
523   o add version to debug log on startup
524   o tell the user what mknod() we are trying to do
525   o add dbg_parse() to cut down on parse file debugging statements
526   o put config files and database in /etc/udev by default
527   o add ols 2003 udev paper to docs/
528   o clean up some debugging stuff in namedev.c
529   o do not build the tdb binary programs, only the objects
530   o merge tdb into the build process
531   o Added tdb code from latest cvs version in the samba tree
532   o added my name to the .spec file
533   o minor cleanups
534   o cleanup the mknod code a bit
535   o remove mknod callout
536   o handle new major:minor format of dev files that showed up in 2.6.0-test2-bk3 or so
537   o oops, everything was getting created as 000 mode, try to fix this up, but fail...
538   o more test stuff
539
540 Olaf Hering:
541   o print udev pid
542
543 Patrick Mansfield:
544   o add callout config type to udev
545
546 Paul Mundt:
547   o Fix TDB cross compilation
548   o udev spec file
549   o udev/libsysfs cross compile fixes
550
551
552 Summary of changes from v0.1 to v0.2
553 ============================================
554
555 Greg Kroah-Hartman:
556   o more test stuff
557   o removed unneeded stuff from udev.h
558   o added 0.2 change log info
559   o start working on label support, and fix some segfaults for block devices
560   o test config file changes
561   o add NUMBER support (basically same logic as TOPOLOGY, perhaps we should
562     merge this...)
563   o added topology support
564   o got REPLACE to work properly
565   o make struct config_device contain a struct device_attr instead of
566     duplicating the mess
567   o block test
568   o split the tests up into different files
569   o split udev main logic into udev-add and udev-remove
570   o Clean up the namedev interface a bit, making the code smaller
571   o bk: update ignore list
572   o update the tests to handle block devices too
573   o add initial libsysfs support
574   o added libsysfs to the build
575   o added libsysfs code from sysutils-0.1.1-071803 release
576   o namedev config files are fully parsed
577   o more permission tests
578   o make log_message spit out warnings so I don't have to spend forever
579     chasing down stupid bugs that aren't there...
580   o added klibc makefile
581   o Initial namedev parsing of config files
582   o sleep for 2 seconds to give the kernel a chance to actually create the
583     files we need
584   o pick a better default UDEV_ROOT
585   o fix up the test to actually work
586   o added more documentation in README and TODO files
587
588
589 Summary of changes up to v0.1
590 ============================================
591
592 Greg Kroah-Hartman:
593   o added more documentation in README and TODO files
594   o updated the documentation
595   o cleaned up the makefile a bit
596   o remove now works!
597   o restructure code to be able to actually get remove_node() to work
598   o Creating nodes actually works
599   o added stupid test script for debugging
600   o added initial documentation and gpl license
601   o enabled debugging
602   o updated ignore list
603   o added initial files
604   o fixed up config
605   o Initial repository create
606   o BitKeeper file /home/greg/src/udev/udev/ChangeSet
607