I bit the bullet and implemented "." in the filesystem. I've changed the proto

file to put the binaries in system. I added a few more checks to fsck, and I fixed
a few bugs in src/other/wktls.s.
This commit is contained in:
Warren Toomey
2016-03-16 05:36:22 +10:00
parent 56f6da9cd8
commit 00c2de0292
4 changed files with 28 additions and 17 deletions
+5
View File
@@ -332,6 +332,11 @@ sub make_dir {
# the first entry in the Dirstack
add_direntry( "dd", $Dirstack[0]->[2] );
dprintf("Added a dd entry to i-num %d\n", $Dirstack[0]->[2] );
# Also add a "." entry to this directory
add_direntry( ".", $inum );
dprint("Added a . entry to ourselves\n");
dprintf( "Made directory %s perms %06o uid %d in inum %d\n\n",
$dirname, $perms, $uid, $inum );
}