diff options
| author | Lukas Oesch <lukasoesch20@gmail.com> | 2026-04-08 15:21:10 +0200 |
|---|---|---|
| committer | Lukas Oesch <lukasoesch20@gmail.com> | 2026-04-11 07:58:21 +0200 |
| commit | 2793770dc6eba30b73b4a4993618d2cbe184790e (patch) | |
| tree | b3e18a675aecf20a5356b36985628b0c59b0c52b /kernel/src/main.cpp | |
| parent | 9c0fb15aa67a4dda6beed3cbdfc4cc510674313f (diff) | |
| download | teachos-2793770dc6eba30b73b4a4993618d2cbe184790e.tar.xz teachos-2793770dc6eba30b73b4a4993618d2cbe184790e.zip | |
implement unmount, improve error codes
Diffstat (limited to 'kernel/src/main.cpp')
| -rw-r--r-- | kernel/src/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/src/main.cpp b/kernel/src/main.cpp index 1893b84..1d73e20 100644 --- a/kernel/src/main.cpp +++ b/kernel/src/main.cpp @@ -145,6 +145,9 @@ auto test_file_lookup() -> void vfs.do_mount("/enclosures/aquarium", new_filesystem); read_and_write_file("/enclosures/aquarium/closed.txt"); read_and_write_file("/enclosures/aquarium/information/info_2.txt"); + + vfs.unmount("/enclosures/aquarium"); + read_and_write_file("/enclosures/aquarium/tank_1/fish_4.txt"); } auto run_test_code() -> void |
