Replace lsdir system call by readdir, isdir system calls,
authorBen Pfaff <blp@cs.stanford.edu>
Fri, 19 May 2006 20:38:50 +0000 (20:38 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Fri, 19 May 2006 20:38:50 +0000 (20:38 +0000)
commit550e44853cf80d69ae5edf8c2d3b583e8d37dbd8
tree34dadb59a428d5eba74c5e69e87a07d04ad5489e
parent1077ab05a331a73faa159329cc565a242672b057
Replace lsdir system call by readdir, isdir system calls,
which are far less offensive to good taste.
Add dir_get_inode() and dir_readdir() functions.
Remove dir_list(), filesys_list().  The latter was unused.
Update project documentation, solutions, and tests.
Rewrite "ls" example program to use the new interface, and add the
ability to specify a directory name and a "long format" feature.
Add "cd" command to shell.
17 files changed:
TODO
doc/filesys.texi
solutions/p4.patch
src/examples/ls.c
src/examples/shell.c
src/filesys/directory.c
src/filesys/directory.h
src/filesys/filesys.c
src/filesys/filesys.h
src/filesys/fsutil.c
src/lib/syscall-nr.h
src/lib/user/syscall.c
src/lib/user/syscall.h
src/tests/filesys/extended/dir-lsdir.c
src/tests/filesys/extended/dir-lsdir.ck
src/tests/filesys/extended/dir-open.c
src/tests/filesys/extended/dir-open.ck