Kernel: Implement SYS_SYNC and add sync executable to userspace

You can (and have to) manually sync disk after writes to it.
This commit is contained in:
Bananymous
2023-09-11 01:26:27 +03:00
parent eee0537053
commit 63dc2b6aa6
14 changed files with 84 additions and 3 deletions

View File

@@ -15,6 +15,7 @@ namespace Kernel
void initialize_device_updater();
void add_device(BAN::StringView path, BAN::RefPtr<RamInode>);
void for_each_device(const BAN::Function<BAN::Iteration(Device*)>& callback);
dev_t get_next_dev();