1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-27 23:18:06 +11:00
collapseos/tools/emul/shell
Virgil Dupras 942d2a952d ed: take filename as an argument
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.
2019-07-20 19:43:07 -04:00
..
shell_.asm ed: take filename as an argument 2019-07-20 19:43:07 -04:00
shell.c Make tools/emul *BSD-friendly 2019-07-11 21:21:54 -04:00
user.h ed: take filename as an argument 2019-07-20 19:43:07 -04:00