Expand description
A very simple fs.
This file system have following structure:
[Offset 0]
"SIMPLEFS" (8 bytes)
disk_size (8 bytes)
[Offset 512]
file_name_len_0 (8 bytes)
file_size_0 (8 bytes)
file_name_0 (file_name_len_byte_0 bytes)
pad_to_512
[Offset 1024]
File_contents
[Offset align_up(file_size_0 + 512, 512)]
file_name_len_1 (8 bytes)
file_size_1 (8 bytes)
file_name_1 (file_name_len_byte_1 bytes)
pad_to_512
[Offset 1536]
File_contents
...
This file system only have file abstraction (NO DIRECTORY!!) and the file can only be read, overwrite.
Structs
Enums
Possible error kinds.
Traits
A device that has byte sink.