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
|
/* -*- 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 acount 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
|