aboutsummaryrefslogblamecommitdiffstats
path: root/Documentation/filesystems/devfs/ChangeLog
blob: e5aba5246d7c9315061e11aa873da334f104fb12 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
























































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































                                                                               
/* -*- auto-fill -*-                                                         */
===============================================================================
Changes for patch v1

- creation of devfs

- modified miscellaneous character devices to support devfs
===============================================================================
Changes for patch v2

- bug fix with manual inode creation
===============================================================================
Changes for patch v3

- bugfixes

- documentation improvements

- created a couple of scripts (one to save&restore a devfs and the
  other to set up compatibility symlinks)

- devfs support for SCSI discs. New name format is: sd_hHcCiIlL
===============================================================================
Changes for patch v4

- bugfix for the directory reading code

- bugfix for compilation with kerneld

- devfs support for generic hard discs

- rationalisation of the various watchdog drivers
===============================================================================
Changes for patch v5

- support for mounting directly from entries in the devfs (it doesn't
  need to be mounted to do this), including the root filesystem.
  Mounting of swap partitions also works. Hence, now if you set
  CONFIG_DEVFS_ONLY to 'Y' then you won't be able to access your discs
  via ordinary device nodes. Naturally, the default is 'N' so that you
  can still use your old device nodes.  If you want to mount from devfs
  entries, make sure you use: append = "root=/dev/sd_..." in your
  lilo.conf. It seems LILO looks for the device number (major&minor)
  and writes that into the kernel image :-( 

- support for character memory devices (/dev/null, /dev/zero, /dev/full
  and so on). Thanks to C. Scott Ananian <cananian@alumni.princeton.edu>
===============================================================================
Changes for patch v6

- support for subdirectories

- support for symbolic links (created by devfs_mk_symlink(), no
  support yet for creation via symlink(2))

- SCSI disc naming now cast in stone, with the format:
  /dev/sd/c0b1t2u3	controller=0, bus=1, ID=2, LUN=3, whole disc
  /dev/sd/c0b1t2u3p4	controller=0, bus=1, ID=2, LUN=3, 4th partition

- loop devices now appear in devfs

- tty devices, console, serial ports, etc. now appear in devfs
  Thanks to C. Scott Ananian <cananian@alumni.princeton.edu>

- bugs with mounting devfs-only devices now fixed
===============================================================================
Changes for patch v7

- SCSI CD-ROMS, tapes and generic devices now appear in devfs
===============================================================================
Changes for patch v8

- bugfix with no-rewind SCSI tapes

- RAMDISCs now appear in devfs

- better cleaning up of devfs entries created by various modules

- interface change to <devfs_register>
===============================================================================
Changes for patch v9

- the v8 patch was corrupted somehow, which would affect the patch for
  linux/fs/filesystems.c
  I've also fixed the v8 patch file on the WWW

- MetaDevices (/dev/md*) should now appear in devfs
===============================================================================
Changes for patch v10

- bugfix in meta device support for devfs

- created this ChangeLog file

- added devfs support to the floppy driver

- added support for creating sockets in a devfs
===============================================================================
Changes for patch v11

- added DEVFS_FL_HIDE_UNREG flag

- incorporated better patch for ttyname() in libc 5.4.43 from H.J. Lu.

- interface change to <devfs_mk_symlink>

- support for creating symlinks with symlink(2)

- parallel port printer (/dev/lp*) now appears in devfs
===============================================================================
Changes for patch v12

- added inode check to <devfs_fill_file> function

- improved devfs support when mounting from devfs

- added call to <<release>> operation when removing swap areas on
  devfs devices

- increased NR_SUPER to 128 to support large numbers of devfs mounts
  (for chroot(2) gaols)

- fixed bug in SCSI disc support: was generating incorrect minors if
  SCSI ID's did not start at 0 and increase by 1

- support symlink traversal when mounting root
===============================================================================
Changes for patch v13

- added devfs support to soundcard driver
  Thanks to Eric Dumas <dumas@linux.eu.org> and
  C. Scott Ananian <cananian@alumni.princeton.edu>

- added devfs support to the joystick driver

- loop driver now has it's own subdirectory "/dev/loop/"

- created <devfs_get_flags> and <devfs_set_flags> functions

- fix problem with SCSI disc compatibility names (sd{a,b,c,d,e,f})
  which assumes ID's start at 0 and increase by 1. Also only create
  devfs entries for SCSI disc partitions which actually exist
  Show new names in partition check
  Thanks to Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
===============================================================================
Changes for patch v14

- bug fix in floppy driver: would not compile without
  CONFIG_DEVFS_FS='Y'
  Thanks to Jurgen Botz <jbotz@nova.botz.org>

- bug fix in loop driver
  Thanks to C. Scott Ananian <cananian@alumni.princeton.edu>

- do not create devfs entries for printers not configured
  Thanks to C. Scott Ananian <cananian@alumni.princeton.edu>

- do not create devfs entries for serial ports not present
  Thanks to C. Scott Ananian <cananian@alumni.princeton.edu>

- ensure <tty_register_devfs> is exported from tty_io.c
  Thanks to C. Scott Ananian <cananian@alumni.princeton.edu>

- allow unregistering of devfs symlink entries

- fixed bug in SCSI disc naming introduced in last patch version
===============================================================================
Changes for patch v15

- ported to kernel 2.1.81
===============================================================================
Changes for patch v16

- created <devfs_set_symlink_destination> function

- moved DEVFS_SUPER_MAGIC into header file

- added DEVFS_FL_HIDE flag

- created <devfs_get_maj_min>

- created <devfs_get_handle_from_inode>

- fixed bugs in searching by major&minor

- changed interface to <devfs_unregister>, <devfs_fill_file> and
  <devfs_find_handle>

- fixed inode times when symlink created with symlink(2)

- change tty driver to do auto-creation of devfs entries
  Thanks to C. Scott Ananian <cananian@alumni.princeton.edu>

- fixed bug in genhd.c: whole disc (non-SCSI) was not registered to
  devfs

- updated libc 5.4.43 patch for ttyname()
===============================================================================
Changes for patch v17

- added CONFIG_DEVFS_TTY_COMPAT
  Thanks to C. Scott Ananian <cananian@alumni.princeton.edu>

- bugfix in devfs support for drivers/char/lp.c
  Thanks to C. Scott Ananian <cananian@alumni.princeton.edu>

- clean up serial driver so that PCMCIA devices unregister correctly
  Thanks to C. Scott Ananian <cananian@alumni.princeton.edu>

- fixed bug in genhd.c: whole disc (non-SCSI) was not registered to
  devfs [was missing in patch v16]

- updated libc 5.4.43 patch for ttyname() [was missing in patch v16]

- all SCSI devices now registered in /dev/sg

- support removal of devfs entries via unlink(2)
===============================================================================
Changes for patch v18

- added floppy/?u720 floppy entry

- fixed kerneld support for entries in devfs subdirectories

- incorporated latest patch for ttyname() in libc 5.4.43 from H.J. Lu.
===============================================================================
Changes for patch v19

- bug fix when looking up unregistered entries: kerneld was not called

- fixes for kernel 2.1.86 (now requires 2.1.86)
===============================================================================
Changes for patch v20

- only create available floppy entries
  Thanks to Andrzej Krzysztofowicz <ankry@green.mif.pg.gda.pl>

- new IDE naming scheme following SCSI format (i.e. /dev/id/c0b0t0u0p1
  instead of /dev/hda1)
  Thanks to Andrzej Krzysztofowicz <ankry@green.mif.pg.gda.pl>

- new XT disc naming scheme following SCSI format (i.e. /dev/xd/c0t0p1
  instead of /dev/xda1)
  Thanks to Andrzej Krzysztofowicz <ankry@green.mif.pg.gda.pl>

- new non-standard CD-ROM names (i.e. /dev/sbp/c#t#)
  Thanks to Andrzej Krzysztofowicz <ankry@green.mif.pg.gda.pl>

- allow symlink traversal when mounting the root filesystem

- Create entries for MD devices at MD init
  Thanks to Christophe Leroy <christophe.leroy5@capway.com>
===============================================================================
Changes for patch v21

- ported to kernel 2.1.91
===============================================================================
Changes for patch v22

- SCSI host number patch ("scsihosts=" kernel option)
  Thanks to Andrzej Krzysztofowicz <ankry@green.mif.pg.gda.pl>
===============================================================================
Changes for patch v23

- Fixed persistence bug with device numbers for manually created
  device files

- Fixed problem with recreating symlinks with different content

- Added CONFIG_DEVFS_MOUNT (mount devfs on /dev at boot time)
===============================================================================
Changes for patch v24

- Switched from CONFIG_KERNELD to CONFIG_KMOD: module autoloading
  should now work again

- Hide entries which are manually unlinked

- Always invalidate devfs dentry cache when registering entries

- Support removal of devfs directories via rmdir(2)

- Ensure directories created by <devfs_mk_dir> are visible

- Default no access for "other" for floppy device
===============================================================================
Changes for patch v25

- Updates to CREDITS file and minor IDE numbering change
  Thanks to Andrzej Krzysztofowicz <ankry@green.mif.pg.gda.pl>

- Invalidate devfs dentry cache when making directories

- Invalidate devfs dentry cache when removing entries

- More informative message if root FS mount fails when devfs
  configured

- Fixed persistence bug with fifos
===============================================================================
Changes for patch v26

- ported to kernel 2.1.97

- Changed serial directory from "/dev/serial" to "/dev/tts" and
  "/dev/consoles" to "/dev/vc" to be more friendly to new procps
===============================================================================
Changes for patch v27

- Added support for IDE4 and IDE5
  Thanks to Andrzej Krzysztofowicz <ankry@green.mif.pg.gda.pl>

- Documented "scsihosts=" boot parameter

- Print process command when debugging kerneld/kmod

- Added debugging for register/unregister/change operations

- Added "devfs=" boot options

- Hide unregistered entries by default
===============================================================================
Changes for patch v28

- No longer lock/unlock superblock in <devfs_put_super> (cope with
  recent VFS interface change)

- Do not automatically change ownership/protection of /dev/tty

- Drop negative dentries when they are released

- Manage dcache more efficiently
===============================================================================
Changes for patch v29

- Added DEVFS_FL_AUTO_DEVNUM flag
===============================================================================
Changes for patch v30

- No longer set unnecessary methods

- Ported to kernel 2.1.99-pre3
===============================================================================
Changes for patch v31

- Added PID display to <call_kerneld> debugging message

- Added "diread" and "diwrite" options

- Ported to kernel 2.1.102

- Fixed persistence problem with permissions
===============================================================================
Changes for patch v32

- Fixed devfs support in drivers/block/md.c
===============================================================================
Changes for patch v33

- Support legacy device nodes

- Fixed bug where recreated inodes were hidden

- New IDE naming scheme: everything is under /dev/ide
===============================================================================
Changes for patch v34

- Improved debugging in <get_vfs_inode>

- Prevent duplicate calls to <devfs_mk_dir> in SCSI layer

- No longer free old dentries in <devfs_mk_dir>

- Free all dentries for a given entry when deleting inodes
===============================================================================
Changes for patch v35

- Ported to kernel 2.1.105 (sound driver changes)
===============================================================================
Changes for patch v36

- Fixed sound driver port
===============================================================================
Changes for patch v37

- Minor documentation tweaks
===============================================================================
Changes for patch v38

- More documentation tweaks

- Fix for sound driver port

- Removed ttyname-patch (grab libc 5.4.44 instead)

- Ported to kernel 2.1.107-pre2 (loop driver fix)
===============================================================================
Changes for patch v39

- Ported to kernel 2.1.107 (hd.c hunk broke due to spelling "fixes"). Sigh

- Removed many #ifdef's, replaced with trickery in include/devfs_fs.h
===============================================================================
Changes for patch v40

- Fix for sound driver port

- Limit auto-device numbering to majors 128 to 239
===============================================================================
Changes for patch v41

- Fixed inode times persistence problem
===============================================================================
Changes for patch v42

- Ported to kernel 2.1.108 (drivers/scsi/hosts.c hunk broke)
===============================================================================
Changes for patch v43

- Fixed spelling in <devfs_readlink> debug

- Fixed bug in <devfs_setup> parsing "dilookup"

- More #ifdef's removed

- Supported Sparc keyboard (/dev/kbd)

- Supported DSP56001 digital signal processor (/dev/dsp56k)

- Supported Apple Desktop Bus (/dev/adb)

- Supported Coda network file system (/dev/cfs*)
===============================================================================
Changes for patch v44

- Fixed devfs inode leak when manually recreating inodes

- Fixed permission persistence problem when recreating inodes
===============================================================================
Changes for patch v45

- Ported to kernel 2.1.110
===============================================================================
Changes for patch v46

- Ported to kernel 2.1.112-pre1

- Removed harmless "unused variable" compiler warning

- Fixed modes for manually recreated device nodes
===============================================================================
Changes for patch v47

- Added NULL devfs inode warning in <devfs_read_inode>

- Force all inode nlink values to 1
===============================================================================
Changes for patch v48

- Added "dimknod" option

- Set inode nlink to 0 when freeing dentries

- Added support for virtual console capture devices (/dev/vcs*)
  Thanks to Dennis Hou <smilax@mindmeld.yi.org>

- Fixed modes for manually recreated symlinks
===============================================================================
Changes for patch v49

- Ported to kernel 2.1.113
===============================================================================
Changes for patch v50

- Fixed bugs in recreated directories and symlinks
===============================================================================
Changes for patch v51

- Improved robustness of rc.devfs script
  Thanks to Roderich Schupp <rsch@experteam.de>

- Fixed bugs in recreated device nodes

- Fixed bug in currently unused <devfs_get_handle_from_inode>

- Defined new <devfs_handle_t> type

- Improved debugging when getting entries

- Fixed bug where directories could be emptied

- Ported to kernel 2.1.115
===============================================================================
Changes for patch v52

- Replaced dummy .epoch inode with .devfsd character device

- Modified rc.devfs to take account of above change

- Removed spurious driver warning messages when CONFIG_DEVFS_FS=n

- Implemented devfsd protocol revision 0
===============================================================================
Changes for patch v53

- Ported to kernel 2.1.116 (kmod change broke hunk)

- Updated Documentation/Configure.help

- Test and tty pattern patch for rc.devfs script
  Thanks to Roderich Schupp <rsch@experteam.de>

- Added soothing message to warning in <devfs_d_iput>
===============================================================================
Changes for patch v54

- Ported to kernel 2.1.117

- Fixed default permissions in sound driver

- Added support for frame buffer devices (/dev/fb*)
===============================================================================
Changes for patch v55

- Ported to kernel 2.1.119

- Use GCC extensions for structure initialisations

- Implemented async open notification

- Incremented devfsd protocol revision to 1
===============================================================================
Changes for patch v56

- Ported to kernel 2.1.120-pre3

- Moved async open notification to end of <devfs_open>
===============================================================================
Changes for patch v57

- Ported to kernel 2.1.121

- Prepended "/dev/" to module load request

- Renamed <call_kerneld> to <call_kmod>

- Created sample modules.conf file
===============================================================================
Changes for patch v58

- Fixed typo "AYSNC" -> "ASYNC"
===============================================================================
Changes for patch v59

- Added open flag for files
===============================================================================
Changes for patch v60

- Ported to kernel 2.1.123-pre2
===============================================================================
Changes for patch v61

- Set i_blocks=0 and i_blksize=1024 in <devfs_read_inode>
===============================================================================
Changes for patch v62

- Ported to kernel 2.1.123
===============================================================================
Changes for patch v63

- Ported to kernel 2.1.124-pre2
===============================================================================
Changes for patch v64

- Fixed Unix98 pty support

- Increased buffer size in <get_partition_list> to avoid crash and
  burn
===============================================================================
Changes for patch v65

- More Unix98 pty support fixes

- Added test for empty <<name>> in <devfs_find_handle>

- Renamed <generate_path> to <devfs_generate_path> and published

- Created /dev/root symlink
  Thanks to Roderich Schupp <rsch@ExperTeam.de>
  with further modifications by me
===============================================================================
Changes for patch v66

- Yet more Unix98 pty support fixes (now tested)

- Created <devfs_get_fops>

- Support media change checks when CONFIG_DEVFS_ONLY=y

- Abolished Unix98-style PTY names for old PTY devices
===============================================================================
Changes for patch v67

- Added inline declaration for dummy <devfs_generate_path>

- Removed spurious "unable to register... in devfs" messages when
  CONFIG_DEVFS_FS=n

- Fixed misc. devices when CONFIG_DEVFS_FS=n

- Limit auto-device numbering to majors 144 to 239
===============================================================================
Changes for patch v68

- Hide unopened virtual consoles from directory listings

- Added support for video capture devices

- Ported to kernel 2.1.125
===============================================================================
Changes for patch v69

- Fix for CONFIG_VT=n
===============================================================================
Changes for patch v70

- Added support for non-OSS/Free sound cards
===============================================================================
Changes for patch v71

- Ported to kernel 2.1.126-pre2
===============================================================================
Changes for patch v72

- #ifdef's for CONFIG_DEVFS_DISABLE_OLD_NAMES removed
===============================================================================
Changes for patch v73

- CONFIG_DEVFS_DISABLE_OLD_NAMES replaced with "nocompat" boot option

- CONFIG_DEVFS_BOOT_OPTIONS removed: boot options always available
===============================================================================
Changes for patch v74

- Removed CONFIG_DEVFS_MOUNT and "mount" boot option and replaced with
  "nomount" boot option

- Documentation updates

- Updated sample modules.conf
===============================================================================
Changes for patch v75

- Updated sample modules.conf

- Remount devfs after initrd finishes

- Ported to kernel 2.1.127

- Added support for ISDN
  Thanks to Christophe Leroy <christophe.leroy5@capway.com>
===============================================================================
Changes for patch v76

- Updated an email address in ChangeLog

- CONFIG_DEVFS_ONLY replaced with "only" boot option
===============================================================================
Changes for patch v77

- Added DEVFS_FL_REMOVABLE flag

- Check for disc change when listing directories with removable media
  devices

- Use DEVFS_FL_REMOVABLE in sd.c

- Ported to kernel 2.1.128
===============================================================================
Changes for patch v78

- Only call <scan_dir_for_removable> on first call to <devfs_readdir>

- Ported to kernel 2.1.129-pre5

- ISDN support improvements
  Thanks to Christophe Leroy <christophe.leroy5@capway.com>
===============================================================================
Changes for patch v79

- Ported to kernel 2.1.130

- Renamed miscdevice "apm" to "apm_bios" to be consistent with
  devices.txt
===============================================================================
Changes for patch v80

- Ported to kernel 2.1.131

- Updated <devfs_rmdir> for VFS change in 2.1.131
===============================================================================
Changes for patch v81

- Fixed permissions on /dev/ptmx
===============================================================================
Changes for patch v82

- Ported to kernel 2.1.132-pre4

- Changed initial permissions on /dev/pts/*

- Created <devfs_mk_compat>

- Added "symlinks" boot option

- Changed devfs_register_blkdev() back to register_blkdev() for IDE

- Check for partitions on removable media in <devfs_lookup>
===============================================================================
Changes for patch v83

- Fixed support for ramdisc when using string-based root FS name

- Ported to kernel 2.2.0-pre1
===============================================================================
Changes for patch v84

- Ported to kernel 2.2.0-pre7
===============================================================================
Changes for patch v85

- Compile fixes for driver/sound/sound_common.c (non-module) and
  drivers/isdn/isdn_common.c
  Thanks to Christophe Leroy <christophe.leroy5@capway.com>

- Added support for registering regular files

- Created <devfs_set_file_size>

- Added /dev/cpu/mtrr as an alternative interface to /proc/mtrr

- Update devfs inodes from entries if not changed through FS
===============================================================================
Changes for patch v86

- Ported to kernel 2.2.0-pre9
===============================================================================
Changes for patch v87

- Fixed bug when mounting non-devfs devices in a devfs
===============================================================================
Changes for patch v88

- Fixed <devfs_fill_file> to only initialise temporary inodes

- Trap for NULL fops in <devfs_register>

- Return -ENODEV in <devfs_fill_file> for non-driver inodes

- Fixed bug when unswapping non-devfs devices in a devfs
===============================================================================
Changes for patch v89

- Switched to C data types in include/linux/devfs_fs.h

- Switched from PATH_MAX to DEVFS_PATHLEN

- Updated Documentation/filesystems/devfs/modules.conf to take account
  of reverse scanning (!) by modprobe

- Ported to kernel 2.2.0
===============================================================================
Changes for patch v90

- CONFIG_DEVFS_DISABLE_OLD_TTY_NAMES replaced with "nottycompat" boot
  option

- CONFIG_DEVFS_TTY_COMPAT removed: existing "symlinks" boot option now
  controls this. This means you must have libc 5.4.44 or later, or a
  recent version of libc 6 if you use the "symlinks" option
===============================================================================
Changes for patch v91

- Switch from <devfs_mk_symlink> to <devfs_mk_compat> in
  drivers/char/vc_screen.c to fix problems with Midnight Commander
===============================================================================
Changes for patch v92

- Ported to kernel 2.2.2-pre5
===============================================================================
Changes for patch v93

- Modified <sd_name> in drivers/scsi/sd.c to cope with devices that
  don't exist (which happens with new RAID autostart code printk()s)
===============================================================================
Changes for patch v94

- Fixed bug in joystick driver: only first joystick was registered
===============================================================================
Changes for patch v95

- Fixed another bug in joystick driver

- Fixed <devfsd_read> to not overrun event buffer
===============================================================================
Changes for patch v96

- Ported to kernel 2.2.5-2

- Created <devfs_auto_unregister>

- Fixed bugs: compatibility entries were not unregistered for:
    loop driver
    floppy driver
    RAMDISC driver
    IDE tape driver
    SCSI CD-ROM driver
    SCSI HDD driver
===============================================================================
Changes for patch v97

- Fixed bugs: compatibility entries were not unregistered for:
    ALSA sound driver
    partitions in generic disc driver

- Don't return unregistred entries in <devfs_find_handle>

- Panic in <devfs_unregister> if entry unregistered

- Don't panic in <devfs_auto_unregister> for duplicates
===============================================================================
Changes for patch v98

- Don't unregister already unregistered entries in <unregister>

- Register entry in <sd_detect>

- Unregister entry in <sd_detach>

- Changed to <devfs_*register_chrdev> in drivers/char/tty_io.c

- Ported to kernel 2.2.7
===============================================================================
Changes for patch v99

- Ported to kernel 2.2.8

- Fixed bug in drivers/scsi/sd.c when >16 SCSI discs

- Disable warning messages when unable to read partition table for
  removable media
===============================================================================
Changes for patch v100

- Ported to kernel 2.3.1-pre5

- Added "oops-on-panic" boot option

- Improved debugging in <devfs_register> and <devfs_unregister>

- Register entry in <sr_detect>

- Unregister entry in <sr_detach>

- Register entry in <sg_detect>

- Unregister entry in <sg_detach>

- Added support for ALSA drivers
===============================================================================
Changes for patch v101

- Ported to kernel 2.3.2
===============================================================================
Changes for patch v102

- Update serial driver to register PCMCIA entries
  Thanks to Roch-Alexandre Nomine-Beguin <roch@samarkand.infini.fr>

- Updated an email address in ChangeLog

- Hide virtual console capture entries from directory listings when
  corresponding console device is not open
===============================================================================
Changes for patch v103

- Ported to kernel 2.3.3
===============================================================================
Changes for patch v104

- Added documentation for some functions

- Added "doc" target to fs/devfs/Makefile

- Added "v4l" directory for video4linux devices

- Replaced call to <devfs_unregister> in <sd_detach> with call to
  <devfs_register_partitions>

- Moved registration for sr and sg drivers from detect() to attach()
  methods

- Register entries in <st_attach> and unregister in <st_detach>

- Work around IDE driver treating CD-ROM as gendisk

- Use <sed> instead of <tr> in rc.devfs

- Updated ToDo list

- Removed "oops-on-panic" boot option: now always Oops
===============================================================================
Changes for patch v105

- Unregister SCSI host from <scsi_host_no_list> in <scsi_unregister>
  Thanks to Zoltán Böszörményi <zboszor@mail.externet.hu>

- Don't save /dev/log in rc.devfs

- Ported to kernel 2.3.4-pre1
===============================================================================
Changes for patch v106

- Fixed silly typo in drivers/scsi/st.c

- Improved debugging in <devfs_register>
===============================================================================
Changes for patch v107

- Added "diunlink" and "nokmod" boot options

- Removed superfluous warning message in <devfs_d_iput>
===============================================================================
Changes for patch v108

- Remove entries when unloading sound module
===============================================================================
Changes for patch v109

- Ported to kernel 2.3.6-pre2
===============================================================================
Changes for patch v110

- Took account of change to <d_alloc_root>
===============================================================================
Changes for patch v111

- Created separate event queue for each mounted devfs

- Removed <devfs_invalidate_dcache>

- Created new ioctl()s for devfsd

- Incremented devfsd protocol revision to 3

- Fixed bug when re-creating directories: contents were lost

- Block access to inodes until devfsd updates permissions
===============================================================================
Changes for patch v112

- Modified patch so it applies against 2.3.5 and 2.3.6

- Updated an email address in ChangeLog

- Do not automatically change ownership/protection of /dev/tty<n>

- Updated sample modules.conf

- Switched to sending process uid/gid to devfsd

- Renamed <call_kmod> to <try_modload>

- Added DEVFSD_NOTIFY_LOOKUP event

- Added DEVFSD_NOTIFY_CHANGE event

- Added DEVFSD_NOTIFY_CREATE event

- Incremented devfsd protocol revision to 4

- Moved kernel-specific stuff to include/linux/devfs_fs_kernel.h
===============================================================================
Changes for patch v113

- Ported to kernel 2.3.9

- Restricted permissions on some block devices
===============================================================================
Changes for patch v114

- Added support for /dev/netlink
  Thanks to Dennis Hou <smilax@mindmeld.yi.org>

- Return EISDIR rather than EINVAL for read(2) on directories

- Ported to kernel 2.3.10
===============================================================================
Changes for patch v115

- Added support for all remaining character devices
  Thanks to Dennis Hou <smilax@mindmeld.yi.org>

- Cleaned up netlink support
===============================================================================
Changes for patch v116

- Added support for /dev/parport%d
  Thanks to Tim Waugh <tim@cyberelk.demon.co.uk>

- Fixed parallel port ATAPI tape driver

- Fixed Atari SLM laser printer driver
===============================================================================
Changes for patch v117

- Added support for COSA card
  Thanks to Dennis Hou <smilax@mindmeld.yi.org>

- Fixed drivers/char/ppdev.c: missing #include <linux/init.h>

- Fixed drivers/char/ftape/zftape/zftape-init.c
  Thanks to Vladimir Popov <mashgrad@usa.net>
===============================================================================
Changes for patch v118

- Ported to kernel 2.3.15-pre3

- Fixed bug in loop driver

- Unregister /dev/lp%d entries in drivers/char/lp.c
  Thanks to Maciej W. Rozycki <macro@ds2.pg.gda.pl>
===============================================================================
Changes for patch v119

- Ported to kernel 2.3.16
===============================================================================
Changes for patch v120

- Fixed bug in drivers/scsi/scsi.c

- Added /dev/ppp
  Thanks to Dennis Hou <smilax@mindmeld.yi.org>

- Ported to kernel 2.3.17
===============================================================================
Changes for patch v121

- Fixed bug in drivers/block/loop.c

- Ported to kernel 2.3.18
===============================================================================
Changes for patch v122

- Ported to kernel 2.3.19
===============================================================================
Changes for patch v123

- Ported to kernel 2.3.20
===============================================================================
Changes for patch v124

- Ported to kernel 2.3.21
===============================================================================
Changes for patch v125

- Created <devfs_get_info>, <devfs_set_info>,
  <devfs_get_first_child> and <devfs_get_next_sibling>
  Added <<dir>> parameter to <devfs_register>, <devfs_mk_compat>,
  <devfs_mk_dir> and <devfs_find_handle>
  Work sponsored by SGI

- Fixed apparent bug in COSA driver

- Re-instated "scsihosts=" boot option
===============================================================================
Changes for patch v126

- Always create /dev/pts if CONFIG_UNIX98_PTYS=y

- Fixed call to <devfs_mk_dir> in drivers/block/ide-disk.c
  Thanks to Dennis Hou <smilax@mindmeld.yi.org>

- Allow multiple unregistrations

- Created /dev/scsi hierarchy
  Work sponsored by SGI
===============================================================================
Changes for patch v127

Work sponsored by SGI

- No longer disable devpts if devfs enabled (caveat emptor)

- Added flags array to struct gendisk and removed code from
  drivers/scsi/sd.c

- Created /dev/discs hierarchy
===============================================================================
Changes for patch v128

Work sponsored by SGI

- Created /dev/cdroms hierarchy
===============================================================================
Changes for patch v129

Work sponsored by SGI

- Removed compatibility entries for sound devices

- Removed compatibility entries for printer devices

- Removed compatibility entries for video4linux devices

- Removed compatibility entries for parallel port devices

- Removed compatibility entries for frame buffer devices
===============================================================================
Changes for patch v130

Work sponsored by SGI

- Added major and minor number to devfsd protocol

- Incremented devfsd protocol revision to 5

- Removed compatibility entries for SoundBlaster CD-ROMs

- Removed compatibility entries for netlink devices

- Removed compatibility entries for SCSI generic devices

- Removed compatibility entries for SCSI tape devices
===============================================================================
Changes for patch v131

Work sponsored by SGI

- Support info pointer for all devfs entry types

- Added <<info>> parameter to <devfs_mk_dir> and <devfs_mk_symlink>

- Removed /dev/st hierarchy

- Removed /dev/sg hierarchy

- Removed compatibility entries for loop devices

- Removed compatibility entries for IDE tape devices

- Removed compatibility entries for SCSI CD-ROMs

- Removed /dev/sr hierarchy
===============================================================================
Changes for patch v132

Work sponsored by SGI

- Removed compatibility entries for floppy devices

- Removed compatibility entries for RAMDISCs

- Removed compatibility entries for meta-devices

- Removed compatibility entries for SCSI discs

- Created <devfs_make_root>

- Removed /dev/sd hierarchy

- Support "../" when searching devfs namespace

- Created /dev/ide/host* hierarchy

- Supported IDE hard discs in /dev/ide/host* hierarchy

- Removed compatibility entries for IDE discs

- Removed /dev/ide/hd hierarchy

- Supported IDE CD-ROMs in /dev/ide/host* hierarchy

- Removed compatibility entries for IDE CD-ROMs

- Removed /dev/ide/cd hierarchy
===============================================================================
Changes for patch v133

Work sponsored by SGI

- Created <devfs_get_unregister_slave>

- Fixed bug in fs/partitions/check.c when rescanning
===============================================================================
Changes for patch v134

Work sponsored by SGI

- Removed /dev/sd, /dev/sr, /dev/st and /dev/sg directories

- Removed /dev/ide/hd directory

- Exported <devfs_get_parent>

- Created <devfs_register_tape> and /dev/tapes hierarchy

- Removed /dev/ide/mt hierarchy

- Removed /dev/ide/fd hierarchy

- Ported to kernel 2.3.25
===============================================================================
Changes for patch v135

Work sponsored by SGI

- Removed compatibility entries for virtual console capture devices

- Removed unused <devfs_set_symlink_destination>

- Removed compatibility entries for serial devices

- Removed compatibility entries for console devices

- Do not hide entries from devfsd or children

- Removed DEVFS_FL_TTY_COMPAT flag

- Removed "nottycompat" boot option

- Removed <devfs_mk_compat>
===============================================================================
Changes for patch v136

Work sponsored by SGI

- Moved BSD pty devices to /dev/pty

- Added DEVFS_FL_WAIT flag
===============================================================================
Changes for patch v137

Work sponsored by SGI

- Really fixed bug in fs/partitions/check.c when rescanning

- Support new "disc" naming scheme in <get_removable_partition>

- Allow NULL fops in <devfs_register>

- Removed redundant name functions in SCSI disc and IDE drivers
===============================================================================
Changes for patch v138

Work sponsored by SGI

- Fixed old bugs in drivers/block/paride/pt.c, drivers/char/tpqic02.c,
  drivers/net/wan/cosa.c and drivers/scsi/scsi.c
  Thanks to Sergey Kubushin <ksi@ksi-linux.com>

- Fall back to major table if NULL fops given to <devfs_register>
===============================================================================
Changes for patch v139

Work sponsored by SGI

- Corrected and moved <get_blkfops> and <get_chrfops> declarations
  from arch/alpha/kernel/osf_sys.c to include/linux/fs.h

- Removed name function from struct gendisk

- Updated devfs FAQ
===============================================================================
Changes for patch v140

Work sponsored by SGI

- Ported to kernel 2.3.27
===============================================================================
Changes for patch v141

Work sponsored by SGI

- Bug fix in arch/m68k/atari/joystick.c

- Moved ISDN and capi devices to /dev/isdn
===============================================================================
Changes for patch v142

Work sponsored by SGI

- Bug fix in drivers/block/ide-probe.c (patch confusion)
===============================================================================
Changes for patch v143

Work sponsored by SGI

- Bug fix in drivers/block/blkpg.c:partition_name()
===============================================================================
Changes for patch v144

Work sponsored by SGI

- Ported to kernel 2.3.29

- Removed calls to <devfs_register> from cdu31a, cm206, mcd and mcdx
  CD-ROM drivers: generic driver handles this now

- Moved joystick devices to /dev/joysticks
===============================================================================
Changes for patch v145

Work sponsored by SGI

- Ported to kernel 2.3.30-pre3

- Register whole-disc entry even for invalid partition tables

- Fixed bug in mounting root FS when initrd enabled

- Fixed device entry leak with IDE CD-ROMs

- Fixed compile problem with drivers/isdn/isdn_common.c

- Moved COSA devices to /dev/cosa

- Support fifos when unregistering

- Created <devfs_register_series> and used in many drivers

- Moved Coda devices to /dev/coda

- Moved parallel port IDE tapes to /dev/pt

- Moved parallel port IDE generic devices to /dev/pg
===============================================================================
Changes for patch v146

Work sponsored by SGI

- Removed obsolete DEVFS_FL_COMPAT and DEVFS_FL_TOLERANT flags

- Fixed compile problem with fs/coda/psdev.c

- Reinstate change to <devfs_register_blkdev> in
  drivers/block/ide-probe.c now that fs/isofs/inode.c is fixed

- Switched to <devfs_register_blkdev> in drivers/block/floppy.c,
  drivers/scsi/sr.c and drivers/block/md.c

- Moved DAC960 devices to /dev/dac960
===============================================================================
Changes for patch v147

Work sponsored by SGI

- Ported to kernel 2.3.32-pre4
===============================================================================
Changes for patch v148

Work sponsored by SGI

- Removed kmod support: use devfsd instead

- Moved miscellaneous character devices to /dev/misc
===============================================================================
Changes for patch v149

Work sponsored by SGI

- Ensure include/linux/joystick.h is OK for user-space

- Improved debugging in <get_vfs_inode>

- Ensure dentries created by devfsd will be cleaned up
===============================================================================
Changes for patch v150

Work sponsored by SGI

- Ported to kernel 2.3.34
===============================================================================
Changes for patch v151

Work sponsored by SGI

- Ported to kernel 2.3.35-pre1

- Created <devfs_get_name>
===============================================================================
Changes for patch v152

Work sponsored by SGI

- Updated sample modules.conf

- Ported to kernel 2.3.36-pre1
===============================================================================
Changes for patch v153

Work sponsored by SGI

- Ported to kernel 2.3.42

- Removed <devfs_fill_file>
===============================================================================
Changes for patch v154

Work sponsored by SGI

- Took account of device number changes for /dev/fb*
===============================================================================
Changes for patch v155

Work sponsored by SGI

- Ported to kernel 2.3.43-pre8

- Moved /dev/tty0 to /dev/vc/0

- Moved sequence number formatting from <_tty_make_name> to drivers
===============================================================================
Changes for patch v156

Work sponsored by SGI

- Fixed breakage in drivers/scsi/sd.c due to recent SCSI changes
===============================================================================
Changes for patch v157

Work sponsored by SGI

- Ported to kernel 2.3.45
===============================================================================
Changes for patch v158

Work sponsored by SGI

- Ported to kernel 2.3.46-pre2
===============================================================================
Changes for patch v159

Work sponsored by SGI

- Fixed drivers/block/md.c
  Thanks to Mike Galbraith <mikeg@weiden.de>

- Documentation fixes

- Moved device registration from <lp_init> to <lp_register>
  Thanks to Tim Waugh <twaugh@redhat.com>
===============================================================================
Changes for patch v160

Work sponsored by SGI

- Fixed drivers/char/joystick/joystick.c
  Thanks to Vojtech Pavlik <vojtech@suse.cz>

- Documentation updates

- Fixed arch/i386/kernel/mtrr.c if procfs and devfs not enabled

- Fixed drivers/char/stallion.c
===============================================================================
Changes for patch v161

Work sponsored by SGI

- Remove /dev/ide when ide-mod is unloaded

- Fixed bug in drivers/block/ide-probe.c when secondary but no primary

- Added DEVFS_FL_NO_PERSISTENCE flag

- Used new DEVFS_FL_NO_PERSISTENCE flag for Unix98 pty slaves

- Removed unnecessary call to <update_devfs_inode_from_entry> in
  <devfs_readdir>

- Only set auto-ownership for /dev/pty/s*
===============================================================================
Changes for patch v162

Work sponsored by SGI

- Set inode->i_size to correct size for symlinks
  Thanks to Jeremy Fitzhardinge <jeremy@goop.org>

- Only give lookup() method to directories to comply with new VFS
  assumptions

- Remove unnecessary tests in symlink methods

- Don't kill existing block ops in <devfs_read_inode>

- Restore auto-ownership for /dev/pty/m*
===============================================================================
Changes for patch v163

Work sponsored by SGI

- Don't create missing directories in <devfs_find_handle>

- Removed Documentation/filesystems/devfs/mk-devlinks

- Updated Documentation/filesystems/devfs/README
===============================================================================
Changes for patch v164

Work sponsored by SGI

- Fixed CONFIG_DEVFS breakage in drivers/char/serial.c introduced in
  linux-2.3.99-pre6-7
===============================================================================
Changes for patch v165

Work sponsored by SGI

- Ported to kernel 2.3.99-pre6
===============================================================================
Changes for patch v166

Work sponsored by SGI

- Added CONFIG_DEVFS_MOUNT
===============================================================================
Changes for patch v167

Work sponsored by SGI

- Updated Documentation/filesystems/devfs/README

- Updated sample modules.conf
===============================================================================
Changes for patch v168

Work sponsored by SGI

- Disabled multi-mount capability (use VFS bindings instead)

- Updated README from master HTML file
===============================================================================
Changes for patch v169

Work sponsored by SGI

- Removed multi-mount code

- Removed compatibility macros: VFS has changed too much
===============================================================================
Changes for patch v170

Work sponsored by SGI

- Updated README from master HTML file

- Merged devfs inode into devfs entry
===============================================================================
Changes for patch v171

Work sponsored by SGI

- Updated sample modules.conf

- Removed dead code in <devfs_register> which used to call
  <free_dentries>

- Ported to kernel 2.4.0-test2-pre3
===============================================================================
Changes for patch v172

Work sponsored by SGI

- Changed interface to <devfs_register>

- Changed interface to <devfs_register_series>
===============================================================================
Changes for patch v173

Work sponsored by SGI

- Simplified interface to <devfs_mk_symlink>

- Simplified interface to <devfs_mk_dir>

- Simplified interface to <devfs_find_handle>
===============================================================================
Changes for patch v174

Work sponsored by SGI

- Updated README from master HTML file
===============================================================================
Changes for patch v175

Work sponsored by SGI

- DocBook update for fs/devfs/base.c
  Thanks to Tim Waugh <twaugh@redhat.com>

- Removed stale fs/tunnel.c (was never used or completed)
===============================================================================
Changes for patch v176

Work sponsored by SGI

- Updated ToDo list

- Removed sample modules.conf: now distributed with devfsd

- Updated README from master HTML file

- Ported to kernel 2.4.0-test3-pre4 (which had devfs-patch-v174)
===============================================================================
Changes for patch v177

- Updated README from master HTML file

- Documentation cleanups

- Ensure <devfs_generate_path> terminates string for root entry
  Thanks to Tim Jansen <tim@tjansen.de>

- Exported <devfs_get_name> to modules

- Make <devfs_mk_symlink> send events to devfsd

- Cleaned up option processing in <devfs_setup>

- Fixed bugs in handling symlinks: could leak or cause Oops

- Cleaned up directory handling by separating fops
  Thanks to Alexander Viro <viro@parcelfarce.linux.theplanet.co.uk>
===============================================================================
Changes for patch v178

- Fixed handling of inverted options in <devfs_setup>
===============================================================================
Changes for patch v179

- Adjusted <try_modload> to account for <devfs_generate_path> fix
===============================================================================
Changes for patch v180

- Fixed !CONFIG_DEVFS_FS stub declaration of <devfs_get_info>
===============================================================================
Changes for patch v181

- Answered question posed by Al Viro and removed his comments from <devfs_open>

- Moved setting of registered flag after other fields are changed

- Fixed race between <devfsd_close> and <devfsd_notify_one>

- Global VFS changes added bogus BKL to devfsd_close(): removed

- Widened locking in <devfs_readlink> and <devfs_follow_link>

- Replaced <devfsd_read> stack usage with <devfsd_ioctl> kmalloc

- Simplified locking in <devfsd_ioctl> and fixed memory leak
===============================================================================
Changes for patch v182

- Created <devfs_*alloc_major> and <devfs_*alloc_devnum>

- Removed broken devnum allocation and use <devfs_alloc_devnum>

- Fixed old devnum leak by calling new <devfs_dealloc_devnum>

- Created <devfs_*alloc_unique_number>

- Fixed number leak for /dev/cdroms/cdrom%d

- Fixed number leak for /dev/discs/disc%d
===============================================================================
Changes for patch v183

- Fixed bug in <devfs_setup> which could hang boot process
===============================================================================
Changes for patch v184

- Documentation typo fix for fs/devfs/util.c

- Fixed drivers/char/stallion.c for devfs

- Added DEVFSD_NOTIFY_DELETE event

- Updated README from master HTML file

- Removed #include <asm/segment.h> from fs/devfs/base.c
===============================================================================
Changes for patch v185

- Made <block_semaphore> and <char_semaphore> in fs/devfs/util.c
  private

- Fixed inode table races by removing it and using inode->u.generic_ip
  instead

- Moved <devfs_read_inode> into <get_vfs_inode>

- Moved <devfs_write_inode> into <devfs_notify_change>
===============================================================================
Changes for patch v186

- Fixed race in <devfs_do_symlink> for uni-processor

- Updated README from master HTML file
===============================================================================
Changes for patch v187

- Fixed drivers/char/stallion.c for devfs

- Fixed drivers/char/rocket.c for devfs

- Fixed bug in <devfs_alloc_unique_number>: limited to 128 numbers
===============================================================================
Changes for patch v188

- Updated major masks in fs/devfs/util.c up to Linus' "no new majors"
  proclamation. Block: were 126 now 122 free, char: were 26 now 19 free

- Updated README from master HTML file

- Removed remnant of multi-mount support in <devfs_mknod>

- Removed unused DEVFS_FL_SHOW_UNREG flag
===============================================================================
Changes for patch v189

- Removed nlink field from struct devfs_inode

- Removed auto-ownership for /dev/pty/* (BSD ptys) and used
  DEVFS_FL_CURRENT_OWNER|DEVFS_FL_NO_PERSISTENCE for /dev/pty/s* (just
  like Unix98 pty slaves) and made /dev/pty/m* rw-rw-rw- access
===============================================================================
Changes for patch v190

- Updated README from master HTML file

- Replaced BKL with global rwsem to protect symlink data (quick and
  dirty hack)
===============================================================================
Changes for patch v191

- Replaced global rwsem for symlink with per-link refcount
===============================================================================
Changes for patch v192

- Removed unnecessary #ifdef CONFIG_DEVFS_FS from arch/i386/kernel/mtrr.c

- Ported to kernel 2.4.10-pre11

- Set inode->i_mapping->a_ops for block nodes in <get_vfs_inode>
===============================================================================
Changes for patch v193

- Went back to global rwsem for symlinks (refcount scheme no good)
===============================================================================
Changes for patch v194

- Fixed overrun in <devfs_link> by removing function (not needed)

- Updated README from master HTML file
===============================================================================
Changes for patch v195

- Fixed buffer underrun in <try_modload>

- Moved down_read() from <search_for_entry_in_dir> to <find_entry>
===============================================================================
Changes for patch v196

- Fixed race in <devfsd_ioctl> when setting event mask
  Thanks to Kari Hurtta <hurtta@leija.mh.fmi.fi>

- Avoid deadlock in <devfs_follow_link> by using temporary buffer
===============================================================================
Changes for patch v197

- First release of new locking code for devfs core (v1.0)

- Fixed bug in drivers/cdrom/cdrom.c
===============================================================================
Changes for patch v198

- Discard temporary buffer, now use "%s" for dentry names

- Don't generate path in <try_modload>: use fake entry instead

- Use "existing" directory in <_devfs_make_parent_for_leaf>

- Use slab cache rather than fixed buffer for devfsd events
===============================================================================
Changes for patch v199

- Removed obsolete usage of DEVFS_FL_NO_PERSISTENCE

- Send DEVFSD_NOTIFY_REGISTERED events in <devfs_mk_dir>

- Fixed locking bug in <devfs_d_revalidate_wait> due to typo

- Do not send CREATE, CHANGE, ASYNC_OPEN or DELETE events from devfsd
  or children
===============================================================================
Changes for patch v200

- Ported to kernel 2.5.1-pre2
===============================================================================
Changes for patch v201

- Fixed bug in <devfsd_read>: was dereferencing freed pointer
===============================================================================
Changes for patch v202

- Fixed bug in <devfsd_close>: was dereferencing freed pointer

- Added process group check for devfsd privileges
===============================================================================
Changes for patch v203

- Use SLAB_ATOMIC in <devfsd_notify_de> from <devfs_d_delete>
===============================================================================
Changes for patch v204

- Removed long obsolete rc.devfs

- Return old entry in <devfs_mk_dir> for 2.4.x kernels

- Updated README from master HTML file

- Increment refcount on module in <check_disc_changed>

- Created <devfs_get_handle> and exported <devfs_put>

- Increment refcount on module in <devfs_get_ops>

- Created <devfs_put_ops> and used where needed to fix races

- Added clarifying comments in response to preliminary EMC code review

- Added poisoning to <devfs_put>

- Improved debugging messages

- Fixed unregister bugs in drivers/md/lvm-fs.c
===============================================================================
Changes for patch v205

- Corrected (made useful) debugging message in <unregister>

- Moved <kmem_cache_create> in <mount_devfs_fs> to <init_devfs_fs>

- Fixed drivers/md/lvm-fs.c to create "lvm" entry

- Added magic number to guard against scribbling drivers

- Only return old entry in <devfs_mk_dir> if a directory

- Defined macros for error and debug messages

- Updated README from master HTML file
===============================================================================
Changes for patch v206

- Added support for multiple Compaq cpqarray controllers

- Fixed (rare, old) race in <devfs_lookup>
===============================================================================
Changes for patch v207

- Fixed deadlock bug in <devfs_d_revalidate_wait>

- Tag VFS deletable in <devfs_mk_symlink> if handle ignored

- Updated README from master HTML file
===============================================================================
Changes for patch v208

- Added KERN_* to remaining messages

- Cleaned up declaration of <stat_read>

- Updated README from master HTML file
===============================================================================
Changes for patch v209

- Updated README from master HTML file

- Removed silently introduced calls to lock_kernel() and
  unlock_kernel() due to recent VFS locking changes. BKL isn't
  required in devfs 

- Changed <devfs_rmdir> to allow later additions if not yet empty

- Added calls to <devfs_register_partitions> in drivers/block/blkpc.c
  <add_partition> and <del_partition>

- Fixed bug in <devfs_alloc_unique_number>: was clearing beyond
  bitfield

- Fixed bitfield data type for <devfs_*alloc_devnum>

- Made major bitfield type and initialiser 64 bit safe
===============================================================================
Changes for patch v210

- Updated fs/devfs/util.c to fix shift warning on 64 bit machines
  Thanks to Anton Blanchard <anton@samba.org>

- Updated README from master HTML file
===============================================================================
Changes for patch v211

- Do not put miscellaneous character devices in /dev/misc if they
  specify their own directory (i.e. contain a '/' character)

- Copied macro for error messages from fs/devfs/base.c to
  fs/devfs/util.c and made use of this macro

- Removed 2.4.x compatibility code from fs/devfs/base.c
===============================================================================
Changes for patch v212

- Added BKL to <devfs_open> because drivers still need it
===============================================================================
Changes for patch v213

- Protected <scan_dir_for_removable> and <get_removable_partition>
  from changing directory contents
===============================================================================
Changes for patch v214

- Switched to ISO C structure field initialisers

- Switch to set_current_state() and move before add_wait_queue()

- Updated README from master HTML file

- Fixed devfs entry leak in <devfs_readdir> when *readdir fails
===============================================================================
Changes for patch v215

- Created <devfs_find_and_unregister>

- Switched many functions from <devfs_find_handle> to
  <devfs_find_and_unregister>

- Switched many functions from <devfs_find_handle> to <devfs_get_handle>
===============================================================================
Changes for patch v216

- Switched arch/ia64/sn/io/hcl.c from <devfs_find_handle> to
  <devfs_get_handle>

- Removed deprecated <devfs_find_handle>
===============================================================================
Changes for patch v217

- Exported <devfs_find_and_unregister> and <devfs_only> to modules

- Updated README from master HTML file

- Fixed module unload race in <devfs_open>
===============================================================================
Changes for patch v218

- Removed DEVFS_FL_AUTO_OWNER flag

- Switched lingering structure field initialiser to ISO C

- Added locking when setting/clearing flags

- Documentation fix in fs/devfs/util.c