EldoS | Feel safer!

Software components for data protection, secure storage and transfer

SolFS - deleting files

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
Posted: 11/28/2006 05:45:11
by Jure Bogataj (Priority Standard support level)
Joined: 05/23/2006
Posts: 35


When deleting files from SolFS storage, file only gets marked as deleted, right? Files does not shrink (compact must be called), right?
Some questions regarding this behaviour:
- Is file only marked as deleted or is its actual contents filled with zero's (0) or some other byte?
- When file is deleted is this space marked as free or does new file, when storing inside storage (with a size smaller than the one deleted), gets appended at the end of SolFS storage or in the place of deleted file?

Thank you!

best regards,
Posted: 11/28/2006 06:29:39
by Alexander Plas (EldoS Corp.)


File deletion in SolFS actually delete (fill by zero) file meta-data (filename, data size, times, encryption and compression info, user tags), pages(sectors) taken by file data is only marking as free and will be used by next SolFS operations. Information on data pages is the same as before deletion. Compact performing automatically after file deletion if AutoCompact is set and free space in storage is exceed AutoCompact value (in percents). Compact performing only if exist no other activity on storage (any operations in other threads or open files in any thread).

Currently we have no special strategies for new pages (sectors) allocation. Free page with smallest number is used first for new files or information.



Topic viewed 3165 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!