Virgil Dupras
f00334ec89
fs: add private "blk" routines
...
This way, we can interact with the mounted FS even when we change the
selected blkdev.
2019-04-23 15:50:26 -04:00
Virgil Dupras
ad217c018e
fs: implement block reuse in fsAlloc
2019-04-23 14:00:54 -04:00
Virgil Dupras
684f083e8e
fs: add "fdel" command
2019-04-23 13:29:16 -04:00
Virgil Dupras
5eca14d49a
fs: implement fsNext
...
This allows more than one file to be allocated. `fls` properly lists
multiple files.
2019-04-23 12:04:09 -04:00
Virgil Dupras
1a6d285d2d
fs: always read whole block meta in memory to avoid seeking
2019-04-23 10:54:56 -04:00
Virgil Dupras
c0dbee78de
New part: fs
...
Very incomplete, but if you play your cards right, you can, with the
shell:
1. Create a new CFS
2. Mount it
3. Allocate a file with an arbitrary name
4. Have it listed with `fls`
2019-04-23 09:37:22 -04:00