Implement utime() along with a naive /bin/touch.

This synchronous approach to inodes is silly, obviously. I need to rework
it so that the in-memory CoreInode object is the canonical inode, and then
we just need a sync() that flushes pending changes to disk.
This commit is contained in:
Andreas Kling 2018-12-19 21:14:55 +01:00
commit 038d8641f9
Notes: sideshowbarker 2024-07-19 16:08:06 +09:00
22 changed files with 122 additions and 22 deletions

View file

@ -152,6 +152,8 @@ int do_dir(const char* path)
printf(" %10u ", st.st_size);
printf(" %10u ", st.st_mtime);
print_name(st, de->d_name, pathbuf);
printf("\n");