<<< Formatted Floppy Data Structures     Index     Deleting A File >>>

28. Allocating A New File


  1. Find first free entry in directory and write file name

  2. Search FAT for unallocated cluster; set to EOF (0xFFF)

  3. Write that cluster's address into directory entry

  4. If another cluster is needed,

    (Repeat this step as necessary.)

     


<<< Formatted Floppy Data Structures     Index     Deleting A File >>>