<<< Formatted Floppy Data Structures | Index | Deleting A File >>> |
Find first free entry in directory and write file name
Search FAT for unallocated cluster; set to EOF (0xFFF)
Write that cluster's address into directory entry
If another cluster is needed,
find an unallocated FAT entry,
reset that value to EOF, and
reset previous FAT pointer to this new cluster
(Repeat this step as necessary.)
<<< Formatted Floppy Data Structures | Index | Deleting A File >>> |