1 /* -*- auto-fill -*- */
2 ===============================================================================
7 - modified miscellaneous character devices to support devfs
8 ===============================================================================
11 - bug fix with manual inode creation
12 ===============================================================================
17 - documentation improvements
19 - created a couple of scripts (one to save&restore a devfs and the
20 other to set up compatibility symlinks)
22 - devfs support for SCSI discs. New name format is: sd_hHcCiIlL
23 ===============================================================================
26 - bugfix for the directory reading code
28 - bugfix for compilation with kerneld
30 - devfs support for generic hard discs
32 - rationalisation of the various watchdog drivers
33 ===============================================================================
36 - support for mounting directly from entries in the devfs (it doesn't
37 need to be mounted to do this), including the root filesystem.
38 Mounting of swap partitions also works. Hence, now if you set
39 CONFIG_DEVFS_ONLY to 'Y' then you won't be able to access your discs
40 via ordinary device nodes. Naturally, the default is 'N' so that you
41 can still use your old device nodes. If you want to mount from devfs
42 entries, make sure you use: append = "root=/dev/sd_..." in your
43 lilo.conf. It seems LILO looks for the device number (major&minor)
44 and writes that into the kernel image :-(
46 - support for character memory devices (/dev/null, /dev/zero, /dev/full
47 and so on). Thanks to C. Scott Ananian <cananian@alumni.princeton.edu>
48 ===============================================================================
51 - support for subdirectories
53 - support for symbolic links (created by devfs_mk_symlink(), no
54 support yet for creation via symlink(2))
56 - SCSI disc naming now cast in stone, with the format:
57 /dev/sd/c0b1t2u3 controller=0, bus=1, ID=2, LUN=3, whole disc
58 /dev/sd/c0b1t2u3p4 controller=0, bus=1, ID=2, LUN=3, 4th partition
60 - loop devices now appear in devfs
62 - tty devices, console, serial ports, etc. now appear in devfs
63 Thanks to C. Scott Ananian <cananian@alumni.princeton.edu>
65 - bugs with mounting devfs-only devices now fixed
66 ===============================================================================
69 - SCSI CD-ROMS, tapes and generic devices now appear in devfs
70 ===============================================================================
73 - bugfix with no-rewind SCSI tapes
75 - RAMDISCs now appear in devfs
77 - better cleaning up of devfs entries created by various modules
79 - interface change to <devfs_register>
80 ===============================================================================
83 - the v8 patch was corrupted somehow, which would affect the patch for
84 linux/fs/filesystems.c
85 I've also fixed the v8 patch file on the WWW
87 - MetaDevices (/dev/md*) should now appear in devfs
88 ===============================================================================
91 - bugfix in meta device support for devfs
93 - created this ChangeLog file
95 - added devfs support to the floppy driver
97 - added support for creating sockets in a devfs
98 ===============================================================================
101 - added DEVFS_FL_HIDE_UNREG flag
103 - incorporated better patch for ttyname() in libc 5.4.43 from H.J. Lu.
105 - interface change to <devfs_mk_symlink>
107 - support for creating symlinks with symlink(2)
109 - parallel port printer (/dev/lp*) now appears in devfs
110 ===============================================================================
111 Changes for patch v12
113 - added inode check to <devfs_fill_file> function
115 - improved devfs support when mounting from devfs
117 - added call to <<release>> operation when removing swap areas on
120 - increased NR_SUPER to 128 to support large numbers of devfs mounts
121 (for chroot(2) gaols)
123 - fixed bug in SCSI disc support: was generating incorrect minors if
124 SCSI ID's did not start at 0 and increase by 1
126 - support symlink traversal when mounting root
127 ===============================================================================
128 Changes for patch v13
130 - added devfs support to soundcard driver
131 Thanks to Eric Dumas <dumas@linux.eu.org> and
132 C. Scott Ananian <cananian@alumni.princeton.edu>
134 - added devfs support to the joystick driver
136 - loop driver now has it's own subdirectory "/dev/loop/"
138 - created <devfs_get_flags> and <devfs_set_flags> functions
140 - fix problem with SCSI disc compatibility names (sd{a,b,c,d,e,f})
141 which assumes ID's start at 0 and increase by 1. Also only create
142 devfs entries for SCSI disc partitions which actually exist
143 Show new names in partition check
144 Thanks to Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
145 ===============================================================================
146 Changes for patch v14
148 - bug fix in floppy driver: would not compile without
150 Thanks to Jurgen Botz <jbotz@nova.botz.org>
152 - bug fix in loop driver
153 Thanks to C. Scott Ananian <cananian@alumni.princeton.edu>
155 - do not create devfs entries for printers not configured
156 Thanks to C. Scott Ananian <cananian@alumni.princeton.edu>
158 - do not create devfs entries for serial ports not present
159 Thanks to C. Scott Ananian <cananian@alumni.princeton.edu>
161 - ensure <tty_register_devfs> is exported from tty_io.c
162 Thanks to C. Scott Ananian <cananian@alumni.princeton.edu>
164 - allow unregistering of devfs symlink entries
166 - fixed bug in SCSI disc naming introduced in last patch version
167 ===============================================================================
168 Changes for patch v15
170 - ported to kernel 2.1.81
171 ===============================================================================
172 Changes for patch v16
174 - created <devfs_set_symlink_destination> function
176 - moved DEVFS_SUPER_MAGIC into header file
178 - added DEVFS_FL_HIDE flag
180 - created <devfs_get_maj_min>
182 - created <devfs_get_handle_from_inode>
184 - fixed bugs in searching by major&minor
186 - changed interface to <devfs_unregister>, <devfs_fill_file> and
189 - fixed inode times when symlink created with symlink(2)
191 - change tty driver to do auto-creation of devfs entries
192 Thanks to C. Scott Ananian <cananian@alumni.princeton.edu>
194 - fixed bug in genhd.c: whole disc (non-SCSI) was not registered to
197 - updated libc 5.4.43 patch for ttyname()
198 ===============================================================================
199 Changes for patch v17
201 - added CONFIG_DEVFS_TTY_COMPAT
202 Thanks to C. Scott Ananian <cananian@alumni.princeton.edu>
204 - bugfix in devfs support for drivers/char/lp.c
205 Thanks to C. Scott Ananian <cananian@alumni.princeton.edu>
207 - clean up serial driver so that PCMCIA devices unregister correctly
208 Thanks to C. Scott Ananian <cananian@alumni.princeton.edu>
210 - fixed bug in genhd.c: whole disc (non-SCSI) was not registered to
211 devfs [was missing in patch v16]
213 - updated libc 5.4.43 patch for ttyname() [was missing in patch v16]
215 - all SCSI devices now registered in /dev/sg
217 - support removal of devfs entries via unlink(2)
218 ===============================================================================
219 Changes for patch v18
221 - added floppy/?u720 floppy entry
223 - fixed kerneld support for entries in devfs subdirectories
225 - incorporated latest patch for ttyname() in libc 5.4.43 from H.J. Lu.
226 ===============================================================================
227 Changes for patch v19
229 - bug fix when looking up unregistered entries: kerneld was not called
231 - fixes for kernel 2.1.86 (now requires 2.1.86)
232 ===============================================================================
233 Changes for patch v20
235 - only create available floppy entries
236 Thanks to Andrzej Krzysztofowicz <ankry@green.mif.pg.gda.pl>
238 - new IDE naming scheme following SCSI format (i.e. /dev/id/c0b0t0u0p1
239 instead of /dev/hda1)
240 Thanks to Andrzej Krzysztofowicz <ankry@green.mif.pg.gda.pl>
242 - new XT disc naming scheme following SCSI format (i.e. /dev/xd/c0t0p1
243 instead of /dev/xda1)
244 Thanks to Andrzej Krzysztofowicz <ankry@green.mif.pg.gda.pl>
246 - new non-standard CD-ROM names (i.e. /dev/sbp/c#t#)
247 Thanks to Andrzej Krzysztofowicz <ankry@green.mif.pg.gda.pl>
249 - allow symlink traversal when mounting the root filesystem
251 - Create entries for MD devices at MD init
252 Thanks to Christophe Leroy <christophe.leroy5@capway.com>
253 ===============================================================================
254 Changes for patch v21
256 - ported to kernel 2.1.91
257 ===============================================================================
258 Changes for patch v22
260 - SCSI host number patch ("scsihosts=" kernel option)
261 Thanks to Andrzej Krzysztofowicz <ankry@green.mif.pg.gda.pl>
262 ===============================================================================
263 Changes for patch v23
265 - Fixed persistence bug with device numbers for manually created
268 - Fixed problem with recreating symlinks with different content
270 - Added CONFIG_DEVFS_MOUNT (mount devfs on /dev at boot time)
271 ===============================================================================
272 Changes for patch v24
274 - Switched from CONFIG_KERNELD to CONFIG_KMOD: module autoloading
275 should now work again
277 - Hide entries which are manually unlinked
279 - Always invalidate devfs dentry cache when registering entries
281 - Support removal of devfs directories via rmdir(2)
283 - Ensure directories created by <devfs_mk_dir> are visible
285 - Default no access for "other" for floppy device
286 ===============================================================================
287 Changes for patch v25
289 - Updates to CREDITS file and minor IDE numbering change
290 Thanks to Andrzej Krzysztofowicz <ankry@green.mif.pg.gda.pl>
292 - Invalidate devfs dentry cache when making directories
294 - Invalidate devfs dentry cache when removing entries
296 - More informative message if root FS mount fails when devfs
299 - Fixed persistence bug with fifos
300 ===============================================================================
301 Changes for patch v26
303 - ported to kernel 2.1.97
305 - Changed serial directory from "/dev/serial" to "/dev/tts" and
306 "/dev/consoles" to "/dev/vc" to be more friendly to new procps
307 ===============================================================================
308 Changes for patch v27
310 - Added support for IDE4 and IDE5
311 Thanks to Andrzej Krzysztofowicz <ankry@green.mif.pg.gda.pl>
313 - Documented "scsihosts=" boot parameter
315 - Print process command when debugging kerneld/kmod
317 - Added debugging for register/unregister/change operations
319 - Added "devfs=" boot options
321 - Hide unregistered entries by default
322 ===============================================================================
323 Changes for patch v28
325 - No longer lock/unlock superblock in <devfs_put_super> (cope with
326 recent VFS interface change)
328 - Do not automatically change ownership/protection of /dev/tty
330 - Drop negative dentries when they are released
332 - Manage dcache more efficiently
333 ===============================================================================
334 Changes for patch v29
336 - Added DEVFS_FL_AUTO_DEVNUM flag
337 ===============================================================================
338 Changes for patch v30
340 - No longer set unnecessary methods
342 - Ported to kernel 2.1.99-pre3
343 ===============================================================================
344 Changes for patch v31
346 - Added PID display to <call_kerneld> debugging message
348 - Added "diread" and "diwrite" options
350 - Ported to kernel 2.1.102
352 - Fixed persistence problem with permissions
353 ===============================================================================
354 Changes for patch v32
356 - Fixed devfs support in drivers/block/md.c
357 ===============================================================================
358 Changes for patch v33
360 - Support legacy device nodes
362 - Fixed bug where recreated inodes were hidden
364 - New IDE naming scheme: everything is under /dev/ide
365 ===============================================================================
366 Changes for patch v34
368 - Improved debugging in <get_vfs_inode>
370 - Prevent duplicate calls to <devfs_mk_dir> in SCSI layer
372 - No longer free old dentries in <devfs_mk_dir>
374 - Free all dentries for a given entry when deleting inodes
375 ===============================================================================
376 Changes for patch v35
378 - Ported to kernel 2.1.105 (sound driver changes)
379 ===============================================================================
380 Changes for patch v36
382 - Fixed sound driver port
383 ===============================================================================
384 Changes for patch v37
386 - Minor documentation tweaks
387 ===============================================================================
388 Changes for patch v38
390 - More documentation tweaks
392 - Fix for sound driver port
394 - Removed ttyname-patch (grab libc 5.4.44 instead)
396 - Ported to kernel 2.1.107-pre2 (loop driver fix)
397 ===============================================================================
398 Changes for patch v39
400 - Ported to kernel 2.1.107 (hd.c hunk broke due to spelling "fixes"). Sigh
402 - Removed many #ifdef's, replaced with trickery in include/devfs_fs.h
403 ===============================================================================
404 Changes for patch v40
406 - Fix for sound driver port
408 - Limit auto-device numbering to majors 128 to 239
409 ===============================================================================
410 Changes for patch v41
412 - Fixed inode times persistence problem
413 ===============================================================================
414 Changes for patch v42
416 - Ported to kernel 2.1.108 (drivers/scsi/hosts.c hunk broke)
417 ===============================================================================
418 Changes for patch v43
420 - Fixed spelling in <devfs_readlink> debug
422 - Fixed bug in <devfs_setup> parsing "dilookup"
424 - More #ifdef's removed
426 - Supported Sparc keyboard (/dev/kbd)
428 - Supported DSP56001 digital signal processor (/dev/dsp56k)
430 - Supported Apple Desktop Bus (/dev/adb)
432 - Supported Coda network file system (/dev/cfs*)
433 ===============================================================================
434 Changes for patch v44
436 - Fixed devfs inode leak when manually recreating inodes
438 - Fixed permission persistence problem when recreating inodes
439 ===============================================================================
440 Changes for patch v45
442 - Ported to kernel 2.1.110
443 ===============================================================================
444 Changes for patch v46
446 - Ported to kernel 2.1.112-pre1
448 - Removed harmless "unused variable" compiler warning
450 - Fixed modes for manually recreated device nodes
451 ===============================================================================
452 Changes for patch v47
454 - Added NULL devfs inode warning in <devfs_read_inode>
456 - Force all inode nlink values to 1
457 ===============================================================================
458 Changes for patch v48
460 - Added "dimknod" option
462 - Set inode nlink to 0 when freeing dentries
464 - Added support for virtual console capture devices (/dev/vcs*)
465 Thanks to Dennis Hou <smilax@mindmeld.yi.org>
467 - Fixed modes for manually recreated symlinks
468 ===============================================================================
469 Changes for patch v49
471 - Ported to kernel 2.1.113
472 ===============================================================================
473 Changes for patch v50
475 - Fixed bugs in recreated directories and symlinks
476 ===============================================================================
477 Changes for patch v51
479 - Improved robustness of rc.devfs script
480 Thanks to Roderich Schupp <rsch@experteam.de>
482 - Fixed bugs in recreated device nodes
484 - Fixed bug in currently unused <devfs_get_handle_from_inode>
486 - Defined new <devfs_handle_t> type
488 - Improved debugging when getting entries
490 - Fixed bug where directories could be emptied
492 - Ported to kernel 2.1.115
493 ===============================================================================
494 Changes for patch v52
496 - Replaced dummy .epoch inode with .devfsd character device
498 - Modified rc.devfs to take account of above change
500 - Removed spurious driver warning messages when CONFIG_DEVFS_FS=n
502 - Implemented devfsd protocol revision 0
503 ===============================================================================
504 Changes for patch v53
506 - Ported to kernel 2.1.116 (kmod change broke hunk)
508 - Updated Documentation/Configure.help
510 - Test and tty pattern patch for rc.devfs script
511 Thanks to Roderich Schupp <rsch@experteam.de>
513 - Added soothing message to warning in <devfs_d_iput>
514 ===============================================================================
515 Changes for patch v54
517 - Ported to kernel 2.1.117
519 - Fixed default permissions in sound driver
521 - Added support for frame buffer devices (/dev/fb*)
522 ===============================================================================
523 Changes for patch v55
525 - Ported to kernel 2.1.119
527 - Use GCC extensions for structure initialisations
529 - Implemented async open notification
531 - Incremented devfsd protocol revision to 1
532 ===============================================================================
533 Changes for patch v56
535 - Ported to kernel 2.1.120-pre3
537 - Moved async open notification to end of <devfs_open>
538 ===============================================================================
539 Changes for patch v57
541 - Ported to kernel 2.1.121
543 - Prepended "/dev/" to module load request
545 - Renamed <call_kerneld> to <call_kmod>
547 - Created sample modules.conf file
548 ===============================================================================
549 Changes for patch v58
551 - Fixed typo "AYSNC" -> "ASYNC"
552 ===============================================================================
553 Changes for patch v59
555 - Added open flag for files
556 ===============================================================================
557 Changes for patch v60
559 - Ported to kernel 2.1.123-pre2
560 ===============================================================================
561 Changes for patch v61
563 - Set i_blocks=0 and i_blksize=1024 in <devfs_read_inode>
564 ===============================================================================
565 Changes for patch v62
567 - Ported to kernel 2.1.123
568 ===============================================================================
569 Changes for patch v63
571 - Ported to kernel 2.1.124-pre2
572 ===============================================================================
573 Changes for patch v64
575 - Fixed Unix98 pty support
577 - Increased buffer size in <get_partition_list> to avoid crash and
579 ===============================================================================
580 Changes for patch v65
582 - More Unix98 pty support fixes
584 - Added test for empty <<name>> in <devfs_find_handle>
586 - Renamed <generate_path> to <devfs_generate_path> and published
588 - Created /dev/root symlink
589 Thanks to Roderich Schupp <rsch@ExperTeam.de>
590 with further modifications by me
591 ===============================================================================
592 Changes for patch v66
594 - Yet more Unix98 pty support fixes (now tested)
596 - Created <devfs_get_fops>
598 - Support media change checks when CONFIG_DEVFS_ONLY=y
600 - Abolished Unix98-style PTY names for old PTY devices
601 ===============================================================================
602 Changes for patch v67
604 - Added inline declaration for dummy <devfs_generate_path>
606 - Removed spurious "unable to register... in devfs" messages when
609 - Fixed misc. devices when CONFIG_DEVFS_FS=n
611 - Limit auto-device numbering to majors 144 to 239
612 ===============================================================================
613 Changes for patch v68
615 - Hide unopened virtual consoles from directory listings
617 - Added support for video capture devices
619 - Ported to kernel 2.1.125
620 ===============================================================================
621 Changes for patch v69
623 - Fix for CONFIG_VT=n
624 ===============================================================================
625 Changes for patch v70
627 - Added support for non-OSS/Free sound cards
628 ===============================================================================
629 Changes for patch v71
631 - Ported to kernel 2.1.126-pre2
632 ===============================================================================
633 Changes for patch v72
635 - #ifdef's for CONFIG_DEVFS_DISABLE_OLD_NAMES removed
636 ===============================================================================
637 Changes for patch v73
639 - CONFIG_DEVFS_DISABLE_OLD_NAMES replaced with "nocompat" boot option
641 - CONFIG_DEVFS_BOOT_OPTIONS removed: boot options always available
642 ===============================================================================
643 Changes for patch v74
645 - Removed CONFIG_DEVFS_MOUNT and "mount" boot option and replaced with
646 "nomount" boot option
648 - Documentation updates
650 - Updated sample modules.conf
651 ===============================================================================
652 Changes for patch v75
654 - Updated sample modules.conf
656 - Remount devfs after initrd finishes
658 - Ported to kernel 2.1.127
660 - Added support for ISDN
661 Thanks to Christophe Leroy <christophe.leroy5@capway.com>
662 ===============================================================================
663 Changes for patch v76
665 - Updated an email address in ChangeLog
667 - CONFIG_DEVFS_ONLY replaced with "only" boot option
668 ===============================================================================
669 Changes for patch v77
671 - Added DEVFS_FL_REMOVABLE flag
673 - Check for disc change when listing directories with removable media
676 - Use DEVFS_FL_REMOVABLE in sd.c
678 - Ported to kernel 2.1.128
679 ===============================================================================
680 Changes for patch v78
682 - Only call <scan_dir_for_removable> on first call to <devfs_readdir>
684 - Ported to kernel 2.1.129-pre5
686 - ISDN support improvements
687 Thanks to Christophe Leroy <christophe.leroy5@capway.com>
688 ===============================================================================
689 Changes for patch v79
691 - Ported to kernel 2.1.130
693 - Renamed miscdevice "apm" to "apm_bios" to be consistent with
695 ===============================================================================
696 Changes for patch v80
698 - Ported to kernel 2.1.131
700 - Updated <devfs_rmdir> for VFS change in 2.1.131
701 ===============================================================================
702 Changes for patch v81
704 - Fixed permissions on /dev/ptmx
705 ===============================================================================
706 Changes for patch v82
708 - Ported to kernel 2.1.132-pre4
710 - Changed initial permissions on /dev/pts/*
712 - Created <devfs_mk_compat>
714 - Added "symlinks" boot option
716 - Changed devfs_register_blkdev() back to register_blkdev() for IDE
718 - Check for partitions on removable media in <devfs_lookup>
719 ===============================================================================
720 Changes for patch v83
722 - Fixed support for ramdisc when using string-based root FS name
724 - Ported to kernel 2.2.0-pre1
725 ===============================================================================
726 Changes for patch v84
728 - Ported to kernel 2.2.0-pre7
729 ===============================================================================
730 Changes for patch v85
732 - Compile fixes for driver/sound/sound_common.c (non-module) and
733 drivers/isdn/isdn_common.c
734 Thanks to Christophe Leroy <christophe.leroy5@capway.com>
736 - Added support for registering regular files
738 - Created <devfs_set_file_size>
740 - Added /dev/cpu/mtrr as an alternative interface to /proc/mtrr
742 - Update devfs inodes from entries if not changed through FS
743 ===============================================================================
744 Changes for patch v86
746 - Ported to kernel 2.2.0-pre9
747 ===============================================================================
748 Changes for patch v87
750 - Fixed bug when mounting non-devfs devices in a devfs
751 ===============================================================================
752 Changes for patch v88
754 - Fixed <devfs_fill_file> to only initialise temporary inodes
756 - Trap for NULL fops in <devfs_register>
758 - Return -ENODEV in <devfs_fill_file> for non-driver inodes
760 - Fixed bug when unswapping non-devfs devices in a devfs
761 ===============================================================================
762 Changes for patch v89
764 - Switched to C data types in include/linux/devfs_fs.h
766 - Switched from PATH_MAX to DEVFS_PATHLEN
768 - Updated Documentation/filesystems/devfs/modules.conf to take account
769 of reverse scanning (!) by modprobe
771 - Ported to kernel 2.2.0
772 ===============================================================================
773 Changes for patch v90
775 - CONFIG_DEVFS_DISABLE_OLD_TTY_NAMES replaced with "nottycompat" boot
778 - CONFIG_DEVFS_TTY_COMPAT removed: existing "symlinks" boot option now
779 controls this. This means you must have libc 5.4.44 or later, or a
780 recent version of libc 6 if you use the "symlinks" option
781 ===============================================================================
782 Changes for patch v91
784 - Switch from <devfs_mk_symlink> to <devfs_mk_compat> in
785 drivers/char/vc_screen.c to fix problems with Midnight Commander
786 ===============================================================================
787 Changes for patch v92
789 - Ported to kernel 2.2.2-pre5
790 ===============================================================================
791 Changes for patch v93
793 - Modified <sd_name> in drivers/scsi/sd.c to cope with devices that
794 don't exist (which happens with new RAID autostart code printk()s)
795 ===============================================================================
796 Changes for patch v94
798 - Fixed bug in joystick driver: only first joystick was registered
799 ===============================================================================
800 Changes for patch v95
802 - Fixed another bug in joystick driver
804 - Fixed <devfsd_read> to not overrun event buffer
805 ===============================================================================
806 Changes for patch v96
808 - Ported to kernel 2.2.5-2
810 - Created <devfs_auto_unregister>
812 - Fixed bugs: compatibility entries were not unregistered for:
819 ===============================================================================
820 Changes for patch v97
822 - Fixed bugs: compatibility entries were not unregistered for:
824 partitions in generic disc driver
826 - Don't return unregistred entries in <devfs_find_handle>
828 - Panic in <devfs_unregister> if entry unregistered
830 - Don't panic in <devfs_auto_unregister> for duplicates
831 ===============================================================================
832 Changes for patch v98
834 - Don't unregister already unregistered entries in <unregister>
836 - Register entry in <sd_detect>
838 - Unregister entry in <sd_detach>
840 - Changed to <devfs_*register_chrdev> in drivers/char/tty_io.c
842 - Ported to kernel 2.2.7
843 ===============================================================================
844 Changes for patch v99
846 - Ported to kernel 2.2.8
848 - Fixed bug in drivers/scsi/sd.c when >16 SCSI discs
850 - Disable warning messages when unable to read partition table for
852 ===============================================================================
853 Changes for patch v100
855 - Ported to kernel 2.3.1-pre5
857 - Added "oops-on-panic" boot option
859 - Improved debugging in <devfs_register> and <devfs_unregister>
861 - Register entry in <sr_detect>
863 - Unregister entry in <sr_detach>
865 - Register entry in <sg_detect>
867 - Unregister entry in <sg_detach>
869 - Added support for ALSA drivers
870 ===============================================================================
871 Changes for patch v101
873 - Ported to kernel 2.3.2
874 ===============================================================================
875 Changes for patch v102
877 - Update serial driver to register PCMCIA entries
878 Thanks to Roch-Alexandre Nomine-Beguin <roch@samarkand.infini.fr>
880 - Updated an email address in ChangeLog
882 - Hide virtual console capture entries from directory listings when
883 corresponding console device is not open
884 ===============================================================================
885 Changes for patch v103
887 - Ported to kernel 2.3.3
888 ===============================================================================
889 Changes for patch v104
891 - Added documentation for some functions
893 - Added "doc" target to fs/devfs/Makefile
895 - Added "v4l" directory for video4linux devices
897 - Replaced call to <devfs_unregister> in <sd_detach> with call to
898 <devfs_register_partitions>
900 - Moved registration for sr and sg drivers from detect() to attach()
903 - Register entries in <st_attach> and unregister in <st_detach>
905 - Work around IDE driver treating CD-ROM as gendisk
907 - Use <sed> instead of <tr> in rc.devfs
911 - Removed "oops-on-panic" boot option: now always Oops
912 ===============================================================================
913 Changes for patch v105
915 - Unregister SCSI host from <scsi_host_no_list> in <scsi_unregister>
916 Thanks to Zoltán Böszörményi <zboszor@mail.externet.hu>
918 - Don't save /dev/log in rc.devfs
920 - Ported to kernel 2.3.4-pre1
921 ===============================================================================
922 Changes for patch v106
924 - Fixed silly typo in drivers/scsi/st.c
926 - Improved debugging in <devfs_register>
927 ===============================================================================
928 Changes for patch v107
930 - Added "diunlink" and "nokmod" boot options
932 - Removed superfluous warning message in <devfs_d_iput>
933 ===============================================================================
934 Changes for patch v108
936 - Remove entries when unloading sound module
937 ===============================================================================
938 Changes for patch v109
940 - Ported to kernel 2.3.6-pre2
941 ===============================================================================
942 Changes for patch v110
944 - Took account of change to <d_alloc_root>
945 ===============================================================================
946 Changes for patch v111
948 - Created separate event queue for each mounted devfs
950 - Removed <devfs_invalidate_dcache>
952 - Created new ioctl()s for devfsd
954 - Incremented devfsd protocol revision to 3
956 - Fixed bug when re-creating directories: contents were lost
958 - Block access to inodes until devfsd updates permissions
959 ===============================================================================
960 Changes for patch v112
962 - Modified patch so it applies against 2.3.5 and 2.3.6
964 - Updated an email address in ChangeLog
966 - Do not automatically change ownership/protection of /dev/tty<n>
968 - Updated sample modules.conf
970 - Switched to sending process uid/gid to devfsd
972 - Renamed <call_kmod> to <try_modload>
974 - Added DEVFSD_NOTIFY_LOOKUP event
976 - Added DEVFSD_NOTIFY_CHANGE event
978 - Added DEVFSD_NOTIFY_CREATE event
980 - Incremented devfsd protocol revision to 4
982 - Moved kernel-specific stuff to include/linux/devfs_fs_kernel.h
983 ===============================================================================
984 Changes for patch v113
986 - Ported to kernel 2.3.9
988 - Restricted permissions on some block devices
989 ===============================================================================
990 Changes for patch v114
992 - Added support for /dev/netlink
993 Thanks to Dennis Hou <smilax@mindmeld.yi.org>
995 - Return EISDIR rather than EINVAL for read(2) on directories
997 - Ported to kernel 2.3.10
998 ===============================================================================
999 Changes for patch v115
1001 - Added support for all remaining character devices
1002 Thanks to Dennis Hou <smilax@mindmeld.yi.org>
1004 - Cleaned up netlink support
1005 ===============================================================================
1006 Changes for patch v116
1008 - Added support for /dev/parport%d
1009 Thanks to Tim Waugh <tim@cyberelk.demon.co.uk>
1011 - Fixed parallel port ATAPI tape driver
1013 - Fixed Atari SLM laser printer driver
1014 ===============================================================================
1015 Changes for patch v117
1017 - Added support for COSA card
1018 Thanks to Dennis Hou <smilax@mindmeld.yi.org>
1020 - Fixed drivers/char/ppdev.c: missing #include <linux/init.h>
1022 - Fixed drivers/char/ftape/zftape/zftape-init.c
1023 Thanks to Vladimir Popov <mashgrad@usa.net>
1024 ===============================================================================
1025 Changes for patch v118
1027 - Ported to kernel 2.3.15-pre3
1029 - Fixed bug in loop driver
1031 - Unregister /dev/lp%d entries in drivers/char/lp.c
1032 Thanks to Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1033 ===============================================================================
1034 Changes for patch v119
1036 - Ported to kernel 2.3.16
1037 ===============================================================================
1038 Changes for patch v120
1040 - Fixed bug in drivers/scsi/scsi.c
1043 Thanks to Dennis Hou <smilax@mindmeld.yi.org>
1045 - Ported to kernel 2.3.17
1046 ===============================================================================
1047 Changes for patch v121
1049 - Fixed bug in drivers/block/loop.c
1051 - Ported to kernel 2.3.18
1052 ===============================================================================
1053 Changes for patch v122
1055 - Ported to kernel 2.3.19
1056 ===============================================================================
1057 Changes for patch v123
1059 - Ported to kernel 2.3.20
1060 ===============================================================================
1061 Changes for patch v124
1063 - Ported to kernel 2.3.21
1064 ===============================================================================
1065 Changes for patch v125
1067 - Created <devfs_get_info>, <devfs_set_info>,
1068 <devfs_get_first_child> and <devfs_get_next_sibling>
1069 Added <<dir>> parameter to <devfs_register>, <devfs_mk_compat>,
1070 <devfs_mk_dir> and <devfs_find_handle>
1071 Work sponsored by SGI
1073 - Fixed apparent bug in COSA driver
1075 - Re-instated "scsihosts=" boot option
1076 ===============================================================================
1077 Changes for patch v126
1079 - Always create /dev/pts if CONFIG_UNIX98_PTYS=y
1081 - Fixed call to <devfs_mk_dir> in drivers/block/ide-disk.c
1082 Thanks to Dennis Hou <smilax@mindmeld.yi.org>
1084 - Allow multiple unregistrations
1086 - Created /dev/scsi hierarchy
1087 Work sponsored by SGI
1088 ===============================================================================
1089 Changes for patch v127
1091 Work sponsored by SGI
1093 - No longer disable devpts if devfs enabled (caveat emptor)
1095 - Added flags array to struct gendisk and removed code from
1098 - Created /dev/discs hierarchy
1099 ===============================================================================
1100 Changes for patch v128
1102 Work sponsored by SGI
1104 - Created /dev/cdroms hierarchy
1105 ===============================================================================
1106 Changes for patch v129
1108 Work sponsored by SGI
1110 - Removed compatibility entries for sound devices
1112 - Removed compatibility entries for printer devices
1114 - Removed compatibility entries for video4linux devices
1116 - Removed compatibility entries for parallel port devices
1118 - Removed compatibility entries for frame buffer devices
1119 ===============================================================================
1120 Changes for patch v130
1122 Work sponsored by SGI
1124 - Added major and minor number to devfsd protocol
1126 - Incremented devfsd protocol revision to 5
1128 - Removed compatibility entries for SoundBlaster CD-ROMs
1130 - Removed compatibility entries for netlink devices
1132 - Removed compatibility entries for SCSI generic devices
1134 - Removed compatibility entries for SCSI tape devices
1135 ===============================================================================
1136 Changes for patch v131
1138 Work sponsored by SGI
1140 - Support info pointer for all devfs entry types
1142 - Added <<info>> parameter to <devfs_mk_dir> and <devfs_mk_symlink>
1144 - Removed /dev/st hierarchy
1146 - Removed /dev/sg hierarchy
1148 - Removed compatibility entries for loop devices
1150 - Removed compatibility entries for IDE tape devices
1152 - Removed compatibility entries for SCSI CD-ROMs
1154 - Removed /dev/sr hierarchy
1155 ===============================================================================
1156 Changes for patch v132
1158 Work sponsored by SGI
1160 - Removed compatibility entries for floppy devices
1162 - Removed compatibility entries for RAMDISCs
1164 - Removed compatibility entries for meta-devices
1166 - Removed compatibility entries for SCSI discs
1168 - Created <devfs_make_root>
1170 - Removed /dev/sd hierarchy
1172 - Support "../" when searching devfs namespace
1174 - Created /dev/ide/host* hierarchy
1176 - Supported IDE hard discs in /dev/ide/host* hierarchy
1178 - Removed compatibility entries for IDE discs
1180 - Removed /dev/ide/hd hierarchy
1182 - Supported IDE CD-ROMs in /dev/ide/host* hierarchy
1184 - Removed compatibility entries for IDE CD-ROMs
1186 - Removed /dev/ide/cd hierarchy
1187 ===============================================================================
1188 Changes for patch v133
1190 Work sponsored by SGI
1192 - Created <devfs_get_unregister_slave>
1194 - Fixed bug in fs/partitions/check.c when rescanning
1195 ===============================================================================
1196 Changes for patch v134
1198 Work sponsored by SGI
1200 - Removed /dev/sd, /dev/sr, /dev/st and /dev/sg directories
1202 - Removed /dev/ide/hd directory
1204 - Exported <devfs_get_parent>
1206 - Created <devfs_register_tape> and /dev/tapes hierarchy
1208 - Removed /dev/ide/mt hierarchy
1210 - Removed /dev/ide/fd hierarchy
1212 - Ported to kernel 2.3.25
1213 ===============================================================================
1214 Changes for patch v135
1216 Work sponsored by SGI
1218 - Removed compatibility entries for virtual console capture devices
1220 - Removed unused <devfs_set_symlink_destination>
1222 - Removed compatibility entries for serial devices
1224 - Removed compatibility entries for console devices
1226 - Do not hide entries from devfsd or children
1228 - Removed DEVFS_FL_TTY_COMPAT flag
1230 - Removed "nottycompat" boot option
1232 - Removed <devfs_mk_compat>
1233 ===============================================================================
1234 Changes for patch v136
1236 Work sponsored by SGI
1238 - Moved BSD pty devices to /dev/pty
1240 - Added DEVFS_FL_WAIT flag
1241 ===============================================================================
1242 Changes for patch v137
1244 Work sponsored by SGI
1246 - Really fixed bug in fs/partitions/check.c when rescanning
1248 - Support new "disc" naming scheme in <get_removable_partition>
1250 - Allow NULL fops in <devfs_register>
1252 - Removed redundant name functions in SCSI disc and IDE drivers
1253 ===============================================================================
1254 Changes for patch v138
1256 Work sponsored by SGI
1258 - Fixed old bugs in drivers/block/paride/pt.c, drivers/char/tpqic02.c,
1259 drivers/net/wan/cosa.c and drivers/scsi/scsi.c
1260 Thanks to Sergey Kubushin <ksi@ksi-linux.com>
1262 - Fall back to major table if NULL fops given to <devfs_register>
1263 ===============================================================================
1264 Changes for patch v139
1266 Work sponsored by SGI
1268 - Corrected and moved <get_blkfops> and <get_chrfops> declarations
1269 from arch/alpha/kernel/osf_sys.c to include/linux/fs.h
1271 - Removed name function from struct gendisk
1274 ===============================================================================
1275 Changes for patch v140
1277 Work sponsored by SGI
1279 - Ported to kernel 2.3.27
1280 ===============================================================================
1281 Changes for patch v141
1283 Work sponsored by SGI
1285 - Bug fix in arch/m68k/atari/joystick.c
1287 - Moved ISDN and capi devices to /dev/isdn
1288 ===============================================================================
1289 Changes for patch v142
1291 Work sponsored by SGI
1293 - Bug fix in drivers/block/ide-probe.c (patch confusion)
1294 ===============================================================================
1295 Changes for patch v143
1297 Work sponsored by SGI
1299 - Bug fix in drivers/block/blkpg.c:partition_name()
1300 ===============================================================================
1301 Changes for patch v144
1303 Work sponsored by SGI
1305 - Ported to kernel 2.3.29
1307 - Removed calls to <devfs_register> from cdu31a, cm206, mcd and mcdx
1308 CD-ROM drivers: generic driver handles this now
1310 - Moved joystick devices to /dev/joysticks
1311 ===============================================================================
1312 Changes for patch v145
1314 Work sponsored by SGI
1316 - Ported to kernel 2.3.30-pre3
1318 - Register whole-disc entry even for invalid partition tables
1320 - Fixed bug in mounting root FS when initrd enabled
1322 - Fixed device entry leak with IDE CD-ROMs
1324 - Fixed compile problem with drivers/isdn/isdn_common.c
1326 - Moved COSA devices to /dev/cosa
1328 - Support fifos when unregistering
1330 - Created <devfs_register_series> and used in many drivers
1332 - Moved Coda devices to /dev/coda
1334 - Moved parallel port IDE tapes to /dev/pt
1336 - Moved parallel port IDE generic devices to /dev/pg
1337 ===============================================================================
1338 Changes for patch v146
1340 Work sponsored by SGI
1342 - Removed obsolete DEVFS_FL_COMPAT and DEVFS_FL_TOLERANT flags
1344 - Fixed compile problem with fs/coda/psdev.c
1346 - Reinstate change to <devfs_register_blkdev> in
1347 drivers/block/ide-probe.c now that fs/isofs/inode.c is fixed
1349 - Switched to <devfs_register_blkdev> in drivers/block/floppy.c,
1350 drivers/scsi/sr.c and drivers/block/md.c
1352 - Moved DAC960 devices to /dev/dac960
1353 ===============================================================================
1354 Changes for patch v147
1356 Work sponsored by SGI
1358 - Ported to kernel 2.3.32-pre4
1359 ===============================================================================
1360 Changes for patch v148
1362 Work sponsored by SGI
1364 - Removed kmod support: use devfsd instead
1366 - Moved miscellaneous character devices to /dev/misc
1367 ===============================================================================
1368 Changes for patch v149
1370 Work sponsored by SGI
1372 - Ensure include/linux/joystick.h is OK for user-space
1374 - Improved debugging in <get_vfs_inode>
1376 - Ensure dentries created by devfsd will be cleaned up
1377 ===============================================================================
1378 Changes for patch v150
1380 Work sponsored by SGI
1382 - Ported to kernel 2.3.34
1383 ===============================================================================
1384 Changes for patch v151
1386 Work sponsored by SGI
1388 - Ported to kernel 2.3.35-pre1
1390 - Created <devfs_get_name>
1391 ===============================================================================
1392 Changes for patch v152
1394 Work sponsored by SGI
1396 - Updated sample modules.conf
1398 - Ported to kernel 2.3.36-pre1
1399 ===============================================================================
1400 Changes for patch v153
1402 Work sponsored by SGI
1404 - Ported to kernel 2.3.42
1406 - Removed <devfs_fill_file>
1407 ===============================================================================
1408 Changes for patch v154
1410 Work sponsored by SGI
1412 - Took account of device number changes for /dev/fb*
1413 ===============================================================================
1414 Changes for patch v155
1416 Work sponsored by SGI
1418 - Ported to kernel 2.3.43-pre8
1420 - Moved /dev/tty0 to /dev/vc/0
1422 - Moved sequence number formatting from <_tty_make_name> to drivers
1423 ===============================================================================
1424 Changes for patch v156
1426 Work sponsored by SGI
1428 - Fixed breakage in drivers/scsi/sd.c due to recent SCSI changes
1429 ===============================================================================
1430 Changes for patch v157
1432 Work sponsored by SGI
1434 - Ported to kernel 2.3.45
1435 ===============================================================================
1436 Changes for patch v158
1438 Work sponsored by SGI
1440 - Ported to kernel 2.3.46-pre2
1441 ===============================================================================
1442 Changes for patch v159
1444 Work sponsored by SGI
1446 - Fixed drivers/block/md.c
1447 Thanks to Mike Galbraith <mikeg@weiden.de>
1449 - Documentation fixes
1451 - Moved device registration from <lp_init> to <lp_register>
1452 Thanks to Tim Waugh <twaugh@redhat.com>
1453 ===============================================================================
1454 Changes for patch v160
1456 Work sponsored by SGI
1458 - Fixed drivers/char/joystick/joystick.c
1459 Thanks to Vojtech Pavlik <vojtech@suse.cz>
1461 - Documentation updates
1463 - Fixed arch/i386/kernel/mtrr.c if procfs and devfs not enabled
1465 - Fixed drivers/char/stallion.c
1466 ===============================================================================
1467 Changes for patch v161
1469 Work sponsored by SGI
1471 - Remove /dev/ide when ide-mod is unloaded
1473 - Fixed bug in drivers/block/ide-probe.c when secondary but no primary
1475 - Added DEVFS_FL_NO_PERSISTENCE flag
1477 - Used new DEVFS_FL_NO_PERSISTENCE flag for Unix98 pty slaves
1479 - Removed unnecessary call to <update_devfs_inode_from_entry> in
1482 - Only set auto-ownership for /dev/pty/s*
1483 ===============================================================================
1484 Changes for patch v162
1486 Work sponsored by SGI
1488 - Set inode->i_size to correct size for symlinks
1489 Thanks to Jeremy Fitzhardinge <jeremy@goop.org>
1491 - Only give lookup() method to directories to comply with new VFS
1494 - Remove unnecessary tests in symlink methods
1496 - Don't kill existing block ops in <devfs_read_inode>
1498 - Restore auto-ownership for /dev/pty/m*
1499 ===============================================================================
1500 Changes for patch v163
1502 Work sponsored by SGI
1504 - Don't create missing directories in <devfs_find_handle>
1506 - Removed Documentation/filesystems/devfs/mk-devlinks
1508 - Updated Documentation/filesystems/devfs/README
1509 ===============================================================================
1510 Changes for patch v164
1512 Work sponsored by SGI
1514 - Fixed CONFIG_DEVFS breakage in drivers/char/serial.c introduced in
1516 ===============================================================================
1517 Changes for patch v165
1519 Work sponsored by SGI
1521 - Ported to kernel 2.3.99-pre6
1522 ===============================================================================
1523 Changes for patch v166
1525 Work sponsored by SGI
1527 - Added CONFIG_DEVFS_MOUNT
1528 ===============================================================================
1529 Changes for patch v167
1531 Work sponsored by SGI
1533 - Updated Documentation/filesystems/devfs/README
1535 - Updated sample modules.conf
1536 ===============================================================================
1537 Changes for patch v168
1539 Work sponsored by SGI
1541 - Disabled multi-mount capability (use VFS bindings instead)
1543 - Updated README from master HTML file
1544 ===============================================================================
1545 Changes for patch v169
1547 Work sponsored by SGI
1549 - Removed multi-mount code
1551 - Removed compatibility macros: VFS has changed too much
1552 ===============================================================================
1553 Changes for patch v170
1555 Work sponsored by SGI
1557 - Updated README from master HTML file
1559 - Merged devfs inode into devfs entry
1560 ===============================================================================
1561 Changes for patch v171
1563 Work sponsored by SGI
1565 - Updated sample modules.conf
1567 - Removed dead code in <devfs_register> which used to call
1570 - Ported to kernel 2.4.0-test2-pre3
1571 ===============================================================================
1572 Changes for patch v172
1574 Work sponsored by SGI
1576 - Changed interface to <devfs_register>
1578 - Changed interface to <devfs_register_series>
1579 ===============================================================================
1580 Changes for patch v173
1582 Work sponsored by SGI
1584 - Simplified interface to <devfs_mk_symlink>
1586 - Simplified interface to <devfs_mk_dir>
1588 - Simplified interface to <devfs_find_handle>
1589 ===============================================================================
1590 Changes for patch v174
1592 Work sponsored by SGI
1594 - Updated README from master HTML file
1595 ===============================================================================
1596 Changes for patch v175
1598 Work sponsored by SGI
1600 - DocBook update for fs/devfs/base.c
1601 Thanks to Tim Waugh <twaugh@redhat.com>
1603 - Removed stale fs/tunnel.c (was never used or completed)
1604 ===============================================================================
1605 Changes for patch v176
1607 Work sponsored by SGI
1611 - Removed sample modules.conf: now distributed with devfsd
1613 - Updated README from master HTML file
1615 - Ported to kernel 2.4.0-test3-pre4 (which had devfs-patch-v174)
1616 ===============================================================================
1617 Changes for patch v177
1619 - Updated README from master HTML file
1621 - Documentation cleanups
1623 - Ensure <devfs_generate_path> terminates string for root entry
1624 Thanks to Tim Jansen <tim@tjansen.de>
1626 - Exported <devfs_get_name> to modules
1628 - Make <devfs_mk_symlink> send events to devfsd
1630 - Cleaned up option processing in <devfs_setup>
1632 - Fixed bugs in handling symlinks: could leak or cause Oops
1634 - Cleaned up directory handling by separating fops
1635 Thanks to Alexander Viro <viro@parcelfarce.linux.theplanet.co.uk>
1636 ===============================================================================
1637 Changes for patch v178
1639 - Fixed handling of inverted options in <devfs_setup>
1640 ===============================================================================
1641 Changes for patch v179
1643 - Adjusted <try_modload> to account for <devfs_generate_path> fix
1644 ===============================================================================
1645 Changes for patch v180
1647 - Fixed !CONFIG_DEVFS_FS stub declaration of <devfs_get_info>
1648 ===============================================================================
1649 Changes for patch v181
1651 - Answered question posed by Al Viro and removed his comments from <devfs_open>
1653 - Moved setting of registered flag after other fields are changed
1655 - Fixed race between <devfsd_close> and <devfsd_notify_one>
1657 - Global VFS changes added bogus BKL to devfsd_close(): removed
1659 - Widened locking in <devfs_readlink> and <devfs_follow_link>
1661 - Replaced <devfsd_read> stack usage with <devfsd_ioctl> kmalloc
1663 - Simplified locking in <devfsd_ioctl> and fixed memory leak
1664 ===============================================================================
1665 Changes for patch v182
1667 - Created <devfs_*alloc_major> and <devfs_*alloc_devnum>
1669 - Removed broken devnum allocation and use <devfs_alloc_devnum>
1671 - Fixed old devnum leak by calling new <devfs_dealloc_devnum>
1673 - Created <devfs_*alloc_unique_number>
1675 - Fixed number leak for /dev/cdroms/cdrom%d
1677 - Fixed number leak for /dev/discs/disc%d
1678 ===============================================================================
1679 Changes for patch v183
1681 - Fixed bug in <devfs_setup> which could hang boot process
1682 ===============================================================================
1683 Changes for patch v184
1685 - Documentation typo fix for fs/devfs/util.c
1687 - Fixed drivers/char/stallion.c for devfs
1689 - Added DEVFSD_NOTIFY_DELETE event
1691 - Updated README from master HTML file
1693 - Removed #include <asm/segment.h> from fs/devfs/base.c
1694 ===============================================================================
1695 Changes for patch v185
1697 - Made <block_semaphore> and <char_semaphore> in fs/devfs/util.c
1700 - Fixed inode table races by removing it and using inode->u.generic_ip
1703 - Moved <devfs_read_inode> into <get_vfs_inode>
1705 - Moved <devfs_write_inode> into <devfs_notify_change>
1706 ===============================================================================
1707 Changes for patch v186
1709 - Fixed race in <devfs_do_symlink> for uni-processor
1711 - Updated README from master HTML file
1712 ===============================================================================
1713 Changes for patch v187
1715 - Fixed drivers/char/stallion.c for devfs
1717 - Fixed drivers/char/rocket.c for devfs
1719 - Fixed bug in <devfs_alloc_unique_number>: limited to 128 numbers
1720 ===============================================================================
1721 Changes for patch v188
1723 - Updated major masks in fs/devfs/util.c up to Linus' "no new majors"
1724 proclamation. Block: were 126 now 122 free, char: were 26 now 19 free
1726 - Updated README from master HTML file
1728 - Removed remnant of multi-mount support in <devfs_mknod>
1730 - Removed unused DEVFS_FL_SHOW_UNREG flag
1731 ===============================================================================
1732 Changes for patch v189
1734 - Removed nlink field from struct devfs_inode
1736 - Removed auto-ownership for /dev/pty/* (BSD ptys) and used
1737 DEVFS_FL_CURRENT_OWNER|DEVFS_FL_NO_PERSISTENCE for /dev/pty/s* (just
1738 like Unix98 pty slaves) and made /dev/pty/m* rw-rw-rw- access
1739 ===============================================================================
1740 Changes for patch v190
1742 - Updated README from master HTML file
1744 - Replaced BKL with global rwsem to protect symlink data (quick and
1746 ===============================================================================
1747 Changes for patch v191
1749 - Replaced global rwsem for symlink with per-link refcount
1750 ===============================================================================
1751 Changes for patch v192
1753 - Removed unnecessary #ifdef CONFIG_DEVFS_FS from arch/i386/kernel/mtrr.c
1755 - Ported to kernel 2.4.10-pre11
1757 - Set inode->i_mapping->a_ops for block nodes in <get_vfs_inode>
1758 ===============================================================================
1759 Changes for patch v193
1761 - Went back to global rwsem for symlinks (refcount scheme no good)
1762 ===============================================================================
1763 Changes for patch v194
1765 - Fixed overrun in <devfs_link> by removing function (not needed)
1767 - Updated README from master HTML file
1768 ===============================================================================
1769 Changes for patch v195
1771 - Fixed buffer underrun in <try_modload>
1773 - Moved down_read() from <search_for_entry_in_dir> to <find_entry>
1774 ===============================================================================
1775 Changes for patch v196
1777 - Fixed race in <devfsd_ioctl> when setting event mask
1778 Thanks to Kari Hurtta <hurtta@leija.mh.fmi.fi>
1780 - Avoid deadlock in <devfs_follow_link> by using temporary buffer
1781 ===============================================================================
1782 Changes for patch v197
1784 - First release of new locking code for devfs core (v1.0)
1786 - Fixed bug in drivers/cdrom/cdrom.c
1787 ===============================================================================
1788 Changes for patch v198
1790 - Discard temporary buffer, now use "%s" for dentry names
1792 - Don't generate path in <try_modload>: use fake entry instead
1794 - Use "existing" directory in <_devfs_make_parent_for_leaf>
1796 - Use slab cache rather than fixed buffer for devfsd events
1797 ===============================================================================
1798 Changes for patch v199
1800 - Removed obsolete usage of DEVFS_FL_NO_PERSISTENCE
1802 - Send DEVFSD_NOTIFY_REGISTERED events in <devfs_mk_dir>
1804 - Fixed locking bug in <devfs_d_revalidate_wait> due to typo
1806 - Do not send CREATE, CHANGE, ASYNC_OPEN or DELETE events from devfsd
1808 ===============================================================================
1809 Changes for patch v200
1811 - Ported to kernel 2.5.1-pre2
1812 ===============================================================================
1813 Changes for patch v201
1815 - Fixed bug in <devfsd_read>: was dereferencing freed pointer
1816 ===============================================================================
1817 Changes for patch v202
1819 - Fixed bug in <devfsd_close>: was dereferencing freed pointer
1821 - Added process group check for devfsd privileges
1822 ===============================================================================
1823 Changes for patch v203
1825 - Use SLAB_ATOMIC in <devfsd_notify_de> from <devfs_d_delete>
1826 ===============================================================================
1827 Changes for patch v204
1829 - Removed long obsolete rc.devfs
1831 - Return old entry in <devfs_mk_dir> for 2.4.x kernels
1833 - Updated README from master HTML file
1835 - Increment refcount on module in <check_disc_changed>
1837 - Created <devfs_get_handle> and exported <devfs_put>
1839 - Increment refcount on module in <devfs_get_ops>
1841 - Created <devfs_put_ops> and used where needed to fix races
1843 - Added clarifying comments in response to preliminary EMC code review
1845 - Added poisoning to <devfs_put>
1847 - Improved debugging messages
1849 - Fixed unregister bugs in drivers/md/lvm-fs.c
1850 ===============================================================================
1851 Changes for patch v205
1853 - Corrected (made useful) debugging message in <unregister>
1855 - Moved <kmem_cache_create> in <mount_devfs_fs> to <init_devfs_fs>
1857 - Fixed drivers/md/lvm-fs.c to create "lvm" entry
1859 - Added magic number to guard against scribbling drivers
1861 - Only return old entry in <devfs_mk_dir> if a directory
1863 - Defined macros for error and debug messages
1865 - Updated README from master HTML file
1866 ===============================================================================
1867 Changes for patch v206
1869 - Added support for multiple Compaq cpqarray controllers
1871 - Fixed (rare, old) race in <devfs_lookup>
1872 ===============================================================================
1873 Changes for patch v207
1875 - Fixed deadlock bug in <devfs_d_revalidate_wait>
1877 - Tag VFS deletable in <devfs_mk_symlink> if handle ignored
1879 - Updated README from master HTML file
1880 ===============================================================================
1881 Changes for patch v208
1883 - Added KERN_* to remaining messages
1885 - Cleaned up declaration of <stat_read>
1887 - Updated README from master HTML file
1888 ===============================================================================
1889 Changes for patch v209
1891 - Updated README from master HTML file
1893 - Removed silently introduced calls to lock_kernel() and
1894 unlock_kernel() due to recent VFS locking changes. BKL isn't
1897 - Changed <devfs_rmdir> to allow later additions if not yet empty
1899 - Added calls to <devfs_register_partitions> in drivers/block/blkpc.c
1900 <add_partition> and <del_partition>
1902 - Fixed bug in <devfs_alloc_unique_number>: was clearing beyond
1905 - Fixed bitfield data type for <devfs_*alloc_devnum>
1907 - Made major bitfield type and initialiser 64 bit safe
1908 ===============================================================================
1909 Changes for patch v210
1911 - Updated fs/devfs/util.c to fix shift warning on 64 bit machines
1912 Thanks to Anton Blanchard <anton@samba.org>
1914 - Updated README from master HTML file
1915 ===============================================================================
1916 Changes for patch v211
1918 - Do not put miscellaneous character devices in /dev/misc if they
1919 specify their own directory (i.e. contain a '/' character)
1921 - Copied macro for error messages from fs/devfs/base.c to
1922 fs/devfs/util.c and made use of this macro
1924 - Removed 2.4.x compatibility code from fs/devfs/base.c
1925 ===============================================================================
1926 Changes for patch v212
1928 - Added BKL to <devfs_open> because drivers still need it
1929 ===============================================================================
1930 Changes for patch v213
1932 - Protected <scan_dir_for_removable> and <get_removable_partition>
1933 from changing directory contents
1934 ===============================================================================
1935 Changes for patch v214
1937 - Switched to ISO C structure field initialisers
1939 - Switch to set_current_state() and move before add_wait_queue()
1941 - Updated README from master HTML file
1943 - Fixed devfs entry leak in <devfs_readdir> when *readdir fails
1944 ===============================================================================
1945 Changes for patch v215
1947 - Created <devfs_find_and_unregister>
1949 - Switched many functions from <devfs_find_handle> to
1950 <devfs_find_and_unregister>
1952 - Switched many functions from <devfs_find_handle> to <devfs_get_handle>
1953 ===============================================================================
1954 Changes for patch v216
1956 - Switched arch/ia64/sn/io/hcl.c from <devfs_find_handle> to
1959 - Removed deprecated <devfs_find_handle>
1960 ===============================================================================
1961 Changes for patch v217
1963 - Exported <devfs_find_and_unregister> and <devfs_only> to modules
1965 - Updated README from master HTML file
1967 - Fixed module unload race in <devfs_open>
1968 ===============================================================================
1969 Changes for patch v218
1971 - Removed DEVFS_FL_AUTO_OWNER flag
1973 - Switched lingering structure field initialiser to ISO C
1975 - Added locking when setting/clearing flags
1977 - Documentation fix in fs/devfs/util.c