diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-12-20 00:39:29 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-12-20 00:39:29 +0100 |
commit | ed7ae6c02c837cf3db5be0da97276a47dbd3af50 (patch) | |
tree | f4711b7a6f2e560b9ed2cee47aa05f0f7f4c75e0 /Kernel/sync.sh | |
parent | d0f06e5f3ff7c3095538bade2543bc6a2ed13676 (diff) | |
download | serenity-ed7ae6c02c837cf3db5be0da97276a47dbd3af50.zip |
Add sync() syscall and a /bin/sync.
It walks all the live Inode objects and flushes pending metadata changes
wherever needed.
This could be optimized by keeping a separate list of dirty Inodes,
but let's not get ahead of ourselves.
Diffstat (limited to 'Kernel/sync.sh')
-rwxr-xr-x | Kernel/sync.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Kernel/sync.sh b/Kernel/sync.sh index 49ed14e7e3..d2592c2cc0 100755 --- a/Kernel/sync.sh +++ b/Kernel/sync.sh @@ -23,14 +23,13 @@ cp -v ../Userland/cat mnt/bin/cat cp -v ../Userland/uname mnt/bin/uname cp -v ../Userland/clear mnt/bin/clear cp -v ../Userland/tst mnt/bin/tst -cp -v ../Userland/ft mnt/bin/ft -cp -v ../Userland/ft2 mnt/bin/ft2 cp -v ../Userland/mm mnt/bin/mm cp -v ../Userland/kill mnt/bin/kill cp -v ../Userland/tty mnt/bin/tty cp -v ../Userland/strsignal mnt/bin/strsignal cp -v ../Userland/mkdir mnt/bin/mkdir cp -v ../Userland/touch mnt/bin/touch +cp -v ../Userland/sync mnt/bin/sync sh sync-local.sh cp -v kernel.map mnt/ ln -s dir_a mnt/dir_cur |