Changeset de0711ec in rtems
- Timestamp:
- 10/13/99 19:48:17 (24 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 18408af
- Parents:
- 22cbb9c
- Location:
- doc/filesystem
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/filesystem/filesystem.texi
r22cbb9c rde0711ec 81 81 * System Initialization:: 82 82 * Mounting and Unmounting Filesystems:: 83 * Filesystem Requirements::83 * Filesystem Implementation Requirements:: 84 84 * In-Memory Filesystem:: 85 85 * System Call Development Notes:: -
doc/filesystem/fsrequirements.t
r22cbb9c rde0711ec 8 8 9 9 10 @chapter Filesystem Requirements10 @chapter Filesystem Implementation Requirements 11 11 12 12 This chapter details the behavioral requirements that all filesystem … … 321 321 @c 322 322 @c 323 @ page323 @c @page 324 324 325 325 @subsubsection evalpath Handler … … 345 345 @c 346 346 @c 347 @ page347 @c @page 348 348 349 349 @subsubsection evalformake Handler … … 369 369 @c 370 370 @c 371 @ page371 @c @page 372 372 373 373 @subsubsection link Handler … … 404 404 @c 405 405 @c 406 @ page406 @c @page 407 407 408 408 @subsubsection unlink Handler … … 428 428 @c 429 429 @c 430 @ page430 @c @page 431 431 432 432 @subsubsection node_type Handler … … 453 453 @c 454 454 @c 455 @ page455 @c @page 456 456 457 457 @subsubsection mknod Handler … … 481 481 @c 482 482 @c 483 @ page483 @c @page 484 484 485 485 @subsubsection rmnod Handler … … 505 505 @c 506 506 @c 507 @ page507 @c @page 508 508 509 509 @subsubsection chown Handler … … 532 532 @c 533 533 @c 534 @ page534 @c @page 535 535 536 536 @subsubsection freenod Handler … … 556 556 @c 557 557 @c 558 @ page558 @c @page 559 559 560 560 @subsubsection mount Handler … … 581 581 @c 582 582 @c 583 @ page583 @c @page 584 584 585 585 @subsubsection fsmount_me Handler … … 717 717 @c 718 718 @c 719 @ page719 @c @page 720 720 721 721 @subsubsection unmount Handler … … 741 741 @c 742 742 @c 743 @ page743 @c @page 744 744 745 745 @subsubsection fsunmount_me Handler … … 767 767 @c 768 768 @c 769 @ page769 @c @page 770 770 771 771 @subsubsection utime Handler … … 790 790 @c 791 791 @c 792 @ page792 @c @page 793 793 794 794 @subsubsection eval_link Handler … … 813 813 @c 814 814 @c 815 @ page815 @c @page 816 816 817 817 @subsubsection symlink Handler … … 836 836 @c 837 837 @c 838 @ page838 @c @page 839 839 @subsection File Handler Table Functions 840 840 … … 867 867 @c 868 868 @c 869 @ page869 @c @page 870 870 871 871 @subsubsection open Handler … … 895 895 @c 896 896 @c 897 @ page897 @c @page 898 898 899 899 @subsubsection close Handler … … 926 926 @c 927 927 @c 928 @ page928 @c @page 929 929 930 930 @subsubsection read Handler … … 958 958 @c 959 959 @c 960 @ page960 @c @page 961 961 962 962 @subsubsection write Handler … … 985 985 @c 986 986 @c 987 @ page987 @c @page 988 988 989 989 @subsubsection ioctl Handler … … 1017 1017 @c 1018 1018 @c 1019 @ page1019 @c @page 1020 1020 1021 1021 @subsubsection lseek Handler … … 1049 1049 @c 1050 1050 @c 1051 @ page1051 @c @page 1052 1052 1053 1053 @subsubsection fstat Handler … … 1101 1101 @c 1102 1102 @c 1103 @ page1103 @c @page 1104 1104 1105 1105 @subsubsection fchmod Handler … … 1132 1132 @c 1133 1133 @c 1134 @ page1134 @c @page 1135 1135 1136 1136 @subsubsection ftruncate Handler … … 1180 1180 @c 1181 1181 @c 1182 @ page1182 @c @page 1183 1183 1184 1184 @subsubsection fsync Handler … … 1206 1206 @c 1207 1207 @c 1208 @ page1208 @c @page 1209 1209 1210 1210 @subsubsection fdatasync Handler … … 1233 1233 @c 1234 1234 @c 1235 @ page1235 @c @page 1236 1236 1237 1237 @subsubsection fcntl Handler -
doc/filesystem/imfs.t
r22cbb9c rde0711ec 206 206 @c 207 207 @c 208 @ page208 @c @page 209 209 210 210 @subsubsection IMFS_evalpath() … … 230 230 @c 231 231 @c 232 @ page232 @c @page 233 233 234 234 @subsubsection IMFS_evalformake() … … 254 254 @c 255 255 @c 256 @ page256 @c @page 257 257 258 258 @subsubsection IMFS_link() … … 314 314 @c 315 315 @c 316 @ page316 @c @page 317 317 318 318 @subsubsection IMFS_unlink() … … 338 338 @c 339 339 @c 340 @ page340 @c @page 341 341 342 342 @subsubsection IMFS_node_type() … … 380 380 @c 381 381 @c 382 @ page382 @c @page 383 383 384 384 @subsubsection IMFS_mknod() … … 418 418 @c 419 419 @c 420 @ page420 @c @page 421 421 422 422 @subsubsection IMFS_rmnod() … … 442 442 @c 443 443 @c 444 @ page444 @c @page 445 445 446 446 @subsubsection IMFS_chown() … … 478 478 @c 479 479 @c 480 @ page480 @c @page 481 481 482 482 @subsubsection IMFS_freenod() … … 502 502 @c 503 503 @c 504 @ page504 @c @page 505 505 506 506 @subsubsection IMFS_mount() … … 540 540 @c 541 541 @c 542 @ page542 @c @page 543 543 544 544 @subsubsection IMFS_fsmount_me() … … 676 676 @c 677 677 @c 678 @ page678 @c @page 679 679 680 680 @subsubsection IMFS_unmount() … … 700 700 @c 701 701 @c 702 @ page702 @c @page 703 703 704 704 @subsubsection IMFS_fsunmount_me() … … 726 726 @c 727 727 @c 728 @ page728 @c @page 729 729 730 730 @subsubsection IMFS_utime() … … 750 750 @c 751 751 @c 752 @ page752 @c @page 753 753 754 754 @subsubsection IMFS_eval_link() … … 773 773 @c 774 774 @c 775 @ page775 @c @page 776 776 @subsection Regular File Handler Table Functions 777 777 … … 805 805 @c 806 806 @c 807 @ page807 @c @page 808 808 809 809 @subsubsection memfile_open() for Regular Files … … 834 834 @c 835 835 @c 836 @ page836 @c @page 837 837 838 838 @subsubsection memfile_close() for Regular Files … … 862 862 @c 863 863 @c 864 @ page864 @c @page 865 865 866 866 @subsubsection memfile_read() for Regular Files … … 908 908 @c 909 909 @c 910 @ page910 @c @page 911 911 912 912 @subsubsection memfile_write() for Regular Files … … 930 930 @c 931 931 @c 932 @ page932 @c @page 933 933 934 934 @subsubsection memfile_ioctl() for Regular Files … … 958 958 @c 959 959 @c 960 @ page960 @c @page 961 961 962 962 @subsubsection memfile_lseek() for Regular Files … … 990 990 @c 991 991 @c 992 @ page992 @c @page 993 993 994 994 @subsubsection IMFS_stat() for Regular Files … … 1051 1051 @c 1052 1052 @c 1053 @ page1053 @c @page 1054 1054 1055 1055 @subsubsection IMFS_fchmod() for Regular Files … … 1091 1091 @c 1092 1092 @c 1093 @ page1093 @c @page 1094 1094 1095 1095 @subsubsection memfile_ftruncate() for Regular Files … … 1133 1133 @c 1134 1134 @c 1135 @ page1135 @c @page 1136 1136 1137 1137 @subsubsection No fsync() for Regular Files … … 1156 1156 @c 1157 1157 @c 1158 @ page1158 @c @page 1159 1159 1160 1160 @subsubsection IMFS_fdatasync() for Regular Files … … 1178 1178 @c 1179 1179 @c 1180 @ page1180 @c @page 1181 1181 @subsection Directory Handler Table Functions 1182 1182 … … 1210 1210 @c 1211 1211 @c 1212 @ page1212 @c @page 1213 1213 @subsubsection IMFS_dir_open() for Directories 1214 1214 … … 1244 1244 @c 1245 1245 @c 1246 @ page1246 @c @page 1247 1247 1248 1248 @subsubsection IMFS_dir_close() for Directories … … 1270 1270 @c 1271 1271 @c 1272 @ page1272 @c @page 1273 1273 1274 1274 @subsubsection IMFS_dir_read() for Directories … … 1300 1300 @c 1301 1301 @c 1302 @ page1302 @c @page 1303 1303 1304 1304 @subsubsection No write() for Directories … … 1323 1323 @c 1324 1324 @c 1325 @ page1325 @c @page 1326 1326 1327 1327 @subsubsection No ioctl() for Directories … … 1345 1345 @c 1346 1346 @c 1347 @ page1347 @c @page 1348 1348 1349 1349 @subsubsection IMFS_dir_lseek() for Directories … … 1378 1378 @c 1379 1379 @c 1380 @ page1380 @c @page 1381 1381 1382 1382 @subsubsection IMFS_dir_fstat() for Directories … … 1423 1423 @c 1424 1424 @c 1425 @ page1425 @c @page 1426 1426 1427 1427 @subsubsection IMFS_fchmod() for Directories … … 1463 1463 @c 1464 1464 @c 1465 @ page1465 @c @page 1466 1466 1467 1467 @subsubsection No ftruncate() for Directories … … 1486 1486 @c 1487 1487 @c 1488 @ page1488 @c @page 1489 1489 1490 1490 @subsubsection No fpathconf() for Directories … … 1510 1510 @c 1511 1511 @c 1512 @ page1512 @c @page 1513 1513 1514 1514 @subsubsection No fsync() for Directories … … 1533 1533 @c 1534 1534 @c 1535 @ page1535 @c @page 1536 1536 1537 1537 @subsubsection IMFS_fdatasync() for Directories … … 1556 1556 @c 1557 1557 @c 1558 @ page1558 @c @page 1559 1559 @subsection Device Handler Table Functions 1560 1560 … … 1586 1586 @c 1587 1587 @c 1588 @ page1588 @c @page 1589 1589 1590 1590 @subsubsection device_open() for Devices … … 1621 1621 @c 1622 1622 @c 1623 @ page1623 @c @page 1624 1624 1625 1625 @subsubsection device_close() for Devices … … 1653 1653 @c 1654 1654 @c 1655 @ page1655 @c @page 1656 1656 1657 1657 @subsubsection device_read() for Devices … … 1703 1703 @c 1704 1704 @c 1705 @ page1705 @c @page 1706 1706 1707 1707 @subsubsection device_write() for Devices … … 1725 1725 @c 1726 1726 @c 1727 @ page1727 @c @page 1728 1728 1729 1729 @subsubsection device_ioctl() for Devices … … 1770 1770 @c 1771 1771 @c 1772 @ page1772 @c @page 1773 1773 1774 1774 @subsubsection device_lseek() for Devices … … 1798 1798 @c 1799 1799 @c 1800 @ page1800 @c @page 1801 1801 1802 1802 @subsubsection IMFS_stat() for Devices … … 1859 1859 @c 1860 1860 @c 1861 @ page1861 @c @page 1862 1862 1863 1863 @subsubsection IMFS_fchmod() for Devices … … 1900 1900 @c 1901 1901 @c 1902 @ page1902 @c @page 1903 1903 1904 1904 @subsubsection No ftruncate() for Devices … … 1922 1922 @c 1923 1923 @c 1924 @ page1924 @c @page 1925 1925 1926 1926 @subsubsection No fpathconf() for Devices … … 1946 1946 @c 1947 1947 @c 1948 @ page1948 @c @page 1949 1949 1950 1950 @subsubsection No fsync() for Devices … … 1970 1970 @c 1971 1971 @c 1972 @ page1972 @c @page 1973 1973 1974 1974 @subsubsection No fdatasync() for Devices -
doc/filesystem/syscalls.t
r22cbb9c rde0711ec 46 46 47 47 48 @ page48 @c @page 49 49 @section access 50 50 … … 66 66 function should support other filesystems without alteration. 67 67 68 @ page68 @c @page 69 69 @section chdir 70 70 … … 108 108 indication of what the current directory is. 109 109 110 @ page110 @c @page 111 111 @section chmod 112 112 … … 117 117 @subheading Processing: 118 118 119 This routine is layered on the open(), fchmod () and close() functions. As long as119 This routine is layered on the open(), fchmod() and close() functions. As long as 120 120 the standard interpretation of the mode_t value is maintained, this routine should 121 121 not need modification to support other filesystems. … … 132 132 After mode modification, the open file descriptor is closed. 133 133 134 @ page134 @c @page 135 135 @section chown 136 136 … … 160 160 evaluation routine, the desired owner, and group information. 161 161 162 @ page162 @c @page 163 163 @section close 164 164 … … 218 218 @end enumerate 219 219 220 @ page220 @c @page 221 221 @section closedir 222 222 … … 229 229 The code was obtained from the BSD group. This routine must clean up the 230 230 memory resources that are required to track an open directory. The code is layered 231 on the close() function and standard memory free 231 on the close() function and standard memory free() functions. It should not 232 232 require alterations to support other filesystems. 233 233 … … 246 246 247 247 248 @ page248 @c @page 249 249 @section dup() Unimplemented 250 250 … … 262 262 263 263 264 @ page264 @c @page 265 265 @section dup2() Unimplemented 266 266 … … 279 279 280 280 281 @ page281 @c @page 282 282 @section fchmod 283 283 … … 323 323 the desired mode as parameters. 324 324 325 @ page325 @c @page 326 326 @section fcntl() 327 327 … … 341 341 The only commands that have been implemented are the F_GETFD and 342 342 F_SETFD. The commands manipulate the LIBIO_FLAGS_CLOSE_ON_EXEC 343 bit in the -flags-element of the file control block associated with the file343 bit in the @code{flags} element of the file control block associated with the file 344 344 descriptor index. 345 345 … … 360 360 361 361 362 @ page362 @c @page 363 363 @section fdatasync 364 364 … … 408 408 its parameter. 409 409 410 @ page410 @c @page 411 411 @section fpathconf 412 412 … … 491 491 492 492 493 @ page493 @c @page 494 494 @section fstat 495 495 … … 538 538 @end enumerate 539 539 540 @ page540 @c @page 541 541 @section ioctl 542 542 … … 581 581 582 582 583 @ page583 @c @page 584 584 @section link 585 585 … … 622 622 determine if the OPS table contains an entry for the link() function. 623 623 624 If a link() function is defined, the OPS table link 624 If a link() function is defined, the OPS table link() function will be called to 625 625 establish the actual link within the filesystem. 626 626 … … 628 628 program. 629 629 630 @ page630 @c @page 631 631 @section lseek 632 632 … … 673 673 674 674 675 @ page675 @c @page 676 676 @section mkdir 677 677 … … 689 689 See mknod() for developmental comments. 690 690 691 @ page691 @c @page 692 692 @section mkfifo 693 693 … … 705 705 See mknod() for developmental comments 706 706 707 @ page707 @c @page 708 708 @section mknod 709 709 … … 771 771 specific mknod() function exists. 772 772 773 If the mknod() function exists, call the filesystem specific mknod 773 If the mknod() function exists, call the filesystem specific mknod() function. 774 774 Pass the name, mode, device type and the location information associated with the 775 775 directory under which the node will be created. 776 776 777 @ page777 @c @page 778 778 @section mount 779 779 … … 823 823 the mounted filesystem will be returned to the calling function. The specifics 824 824 about the processing required at the mount point and within the filesystem being 825 mounted is isolated in the filesystem specific mount() and fsmount_me 825 mounted is isolated in the filesystem specific mount() and fsmount_me() 826 826 functions. This allows the generic mount() function to remain unaltered even if 827 827 new filesystem types are introduced. … … 860 860 mount table chain to record the presence of the mounted filesystem. 861 861 862 @ page862 @c @page 863 863 @section open 864 864 … … 906 906 and returned to the calling routine. 907 907 908 @ page908 @c @page 909 909 @section opendir 910 910 … … 924 924 The BSD group provided this routine. 925 925 926 @ page926 @c @page 927 927 @section pathconf 928 928 … … 934 934 935 935 This routine will obtain the value of one of the path configuration parameters and 936 return it to the calling routine. It is layered on the generic open() and fpathconf 936 return it to the calling routine. It is layered on the generic open() and fpathconf() 937 937 functions. These interfaces should not change with the addition of new filesystem 938 938 types. … … 943 943 944 944 If successful, the file descriptor will be used to access the pathconf value specified 945 by -name-using the fpathconf() function.945 by @code{name} using the fpathconf() function. 946 946 947 947 The file that was accessed is then closed. 948 948 949 @ page949 @c @page 950 950 @section read 951 951 … … 993 993 @end enumerate 994 994 995 @ page995 @c @page 996 996 @section readdir 997 997 … … 1013 1013 has been mapped to the Imfs_dir_read() function. 1014 1014 1015 @ page1015 @c @page 1016 1016 @section unmount 1017 1017 … … 1062 1062 @end enumerate 1063 1063 1064 @ page1064 @c @page 1065 1065 @section eval 1066 1066 … … 1077 1077 XXX 1078 1078 1079 @ page1079 @c @page 1080 1080 @section getdentsc 1081 1081
Note: See TracChangeset
for help on using the changeset viewer.