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:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user