You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "Christopher Collins (JIRA)" <ji...@apache.org> on 2016/07/03 03:27:10 UTC
[jira] [Created] (MYNEWT-338) NFFS - Can't delete from a completely
full file system
Christopher Collins created MYNEWT-338:
------------------------------------------
Summary: NFFS - Can't delete from a completely full file system
Key: MYNEWT-338
URL: https://issues.apache.org/jira/browse/MYNEWT-338
Project: Mynewt
Issue Type: Bug
Components: NFFS
Reporter: Christopher Collins
Assignee: Christopher Collins
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)