Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteDernière révisionLes deux révisions suivantes | ||
back2root:ibm-pc-ms-dos:hardware:informations:file-system-format [2023/03/03 17:46] – [File Descriptor] frater | back2root:ibm-pc-ms-dos:hardware:informations:file-system-format [2023/03/03 17:52] – [File Descriptor Table] frater | ||
---|---|---|---|
Ligne 63: | Ligne 63: | ||
===== DOS 4.0+ System File Table and FCB Table ===== | ===== DOS 4.0+ System File Table and FCB Table ===== | ||
+ | ^ Offset | ||
+ | | 00 | dword | pointer to next system file table; offset of ffffh indicates last table in chain | | ||
+ | | 04 | word | number of file descriptors in table | | ||
+ | | 06 | nbytes | file descriptor table of the format (59 bytes each): | | ||
+ | ==== File Descriptor Table ==== | ||
- | | + | | 00| word | count of handles referring to this file or zero if file is no longer open | |
- | + | | 02| word| open mode, bit 15 set if file id opened via FCB | | |
- | 00 dword pointer to next system file table; offset of ffffh | + | | 04| byte| file attribute |
- | indicates last table in chain | + | | 05| word| device info word | |
- | 04 word number of file descriptors in table | + | | 07| dword| if char device pointer to device driver header if block device pointer to DOS Device Control Block or REDIR data | |
- | 06 nbytes file descriptor table of the format (59 bytes each): | + | | 0B| word| starting cluster of file | |
- | + | | 0D| word| file time | | |
- | | + | | 0F| word| file date | |
- | + | | 11| dword| file size | | |
- | 00 | + | | 15| dword| current file position |
- | zero if file is no longer open | + | | 19| dword| if network redirector, pointer to REDIRIFS record word if local block dev, relative cluster within file of the last cluster read | |
- | 02 | + | | 1B| dword| if local, sector number of directory entry | |
- | 04 | + | | 1F| byte| if local, number of directory entry within sector |
- | 05 | + | | 20| |
- | 07 | + | | 2B| dword| SHARE pointer to previous SFT sharing same file | |
- | if block device pointer to DOS Device Control Block | + | | 2F| word| SHARE number of network machine opening file | |
- | or REDIR data | + | | 31| word| PSP segment of file owner | |
- | 0B | + | | 33| word| offset within SHARE code seg of sharing record 0000h = none | |
- | 0D | + | | 35| word| absolute cluster number of last cluster read zero if file has never been read or written |
- | 0F | + | | 37| dword| pointer to file IFS driver, NULL if native DOS | |
- | 11 | + | |
- | 15 | + | |
- | 19 | + | |
- | word if local block dev, relative cluster within file | + | |
- | of the last cluster read | + | |
- | 1B | + | |
- | 1F | + | |
- | 20 11bytes filename in FCB format | + | |
- | 2B | + | |
- | 2F | + | |
- | 31 | + | |
- | 33 | + | |
- | 0000h = none | + | |
- | 35 | + | |
- | zero if file has never been read or written | + | |
- | 37 | + | |