diff options
Diffstat (limited to 'src/user/bootstrap/tar.c')
-rw-r--r-- | src/user/bootstrap/tar.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/user/bootstrap/tar.c b/src/user/bootstrap/tar.c index 150a993..0356987 100644 --- a/src/user/bootstrap/tar.c +++ b/src/user/bootstrap/tar.c @@ -33,6 +33,11 @@ void tar_driver(void *base) { tar_read(&res, base, ~0); break; + case VFSOP_GETSIZE: + // TODO works weirdly on directories / the root dir + _syscall_fs_respond(NULL, tar_size(res.id), 0); + break; + default: _syscall_fs_respond(NULL, -1, 0); // unsupported break; |