1
0
mirror of https://github.com/hsoft/collapseos.git synced 2025-04-12 23:48:17 +10:00
collapseos/tools/emul/shell
James Stanley 909da5177f Fix filesystem in shell emulator
We now treat the block device as fixed-size rather than trying to grow it in response
to kernel activity.

Previously, if you tried to create 2 files in a row, only the first 1 would actually appear,
because the device only ever got larger when a byte was written immediately past the end of
the device.

Now we just let the kernel write bytes to the disk anywhere, so new files can be created even
when the previous file is not completely full.

Also, fix buffer overrun in reading filesystem image, and use a more idiomatic fgetc loop.
2019-10-19 11:53:18 +01:00
..
shell_.asm zasm: rename #inc to .inc 2019-10-06 14:32:23 -04:00
shell.c Fix filesystem in shell emulator 2019-10-19 11:53:18 +01:00
user.h emul/shell: use '@' symbol in jump table 2019-10-04 20:29:42 -04:00