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

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

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: NFFS
    • Security Level: Public (Viewable by anyone)
    • Labels:

      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

              • Assignee:
                ccollins476 Christopher Collins
                Reporter:
                ccollins476 Christopher Collins
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: