mirror of
https://github.com/hsoft/collapseos.git
synced 2024-09-07 12:28:48 +10:00
This hard-binds ed to the filesystem (I liked the idea of working only with blockdevs though...), but this is necessary for the upcoming `w` command. We need some kind of way to tell the destination to write to truncate itself. This only has a meaning in the filesystem, but it's necessary to let the file know that its registered file size has possibly shrunk. I thought of alternatives that would have allowed me to keep ed blkdev-centered, but they were all too hackish to my own taste. Hence, this new hard-bind on files. |
||
---|---|---|
.. | ||
shell_.asm | ||
shell.c | ||
user.h |