1
0
mirror of https://github.com/hsoft/collapseos.git synced 2025-04-12 23:08:15 +10:00
collapseos/tools
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
..
cfspack Make tools/emul *BSD-friendly 2019-07-11 21:21:54 -04:00
emul Fix filesystem in shell emulator 2019-10-19 11:53:18 +01:00
tests Fix tools/tests/zasm/runtests.sh shebang 2019-10-10 15:22:21 -04:00
blkdump.py tools/blkdump.py: new tool 2019-06-17 09:02:01 -04:00
memdump.py tools/blkdump.py: new tool 2019-06-17 09:02:01 -04:00
upload.py New tool: download.py 2019-06-14 16:06:18 -04:00
zasm.sh Removed unnecessary import sys (#46) 2019-10-15 22:41:44 -04:00