Uploaded image for project: 'Mynewt'
  1. Mynewt
  2. MYNEWT-338

NFFS - Can't delete from a completely full file system

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • NFFS
    • Security Level: Public (Viewable by anyone)

    Description

      Deleting a file or directory requires writing an inode to the disk. If the disk is completely full, there is not room for the deletion record, and the delete attempt will fail with an FS_EFULL error.

      It should be sufficient to always ensure that at least one area has room for a deletion record. All deletion records are the same size. Once a deletion record is written, the previous inode entry and all children inodes or constituent data blocks can be removed during garbage collection.

      Attachments

        Issue Links

          Activity

            People

              ccollins476 Christopher Collins
              ccollins476 Christopher Collins
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: