File Structure
02-Jun-86 06:52:28
Sb: #21507-File Structure
Fm: John Mesiavech 75076,1640
To: Bela Lubkin/Sysop 76703,3015
This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.
Bela;
Ok, here's the structure again *sigh*…
Byte Reference Purpose
—- ————
0 | T.SHORT | Type
1 | OWN KEY | Pointer to self
2 | 0 | Highest sequence number (always 0)
3 | 0 |
4 | |
5 | CHECKSUM | Checksum for header
6 | | Beginning of hash table
| |
~ ~
~ Hash Table~
| |
Size-51 | | End of table
Size-50 | Spare |
Size-48 | PROTECT | Protection longword (ref. all bytes)
Size-47 | 0 | unused
Size-46 | |
| COMMENT | User comment (as BCPL string)
Size-24 | |
Size-23 | DAYS | Creation date/time
Size-22 | MINS |
Size-21 | TICKS |
Size-20 | DIRNAME | Stored as BCPL string of <= 30 chars
Size-4 |HASHCHAIN | Pointer to next name w/same hash value
Size-3 | PARENT | Pointer to parent dir
Size-2 | 0 | Extension (always 0)
Size-1 | ST.USERDIR| Secondary type.