xv6-65oo2/user
John Jolly 62d8da06cd [user/ls]: List specific device file
When using the ls userspace program to list a specific device file,
nothing would be displayed. This was because ls only tests for T_FILE
and T_DIR. T_DEVICE files would fall through the case block.

Adding T_DEVICE to the T_FILE case allows a device file to be listed.

    $ ls console
    console        3 19 0
2022-08-09 20:27:46 -04:00
..
cat.c more grind 2020-08-10 11:19:10 -04:00
echo.c Support exit status for exit/wait 2019-09-10 12:30:10 -04:00
forktest.c error exit status is 1 2019-09-11 10:04:40 -04:00
grep.c error exit status is 1 2019-09-11 10:04:40 -04:00
grind.c suppress an incorrect error message in grind 2020-11-19 16:48:41 -05:00
init.c Use the major number defined in file.h. The minor number is ignored; 2020-08-21 11:00:45 -04:00
initcode.S x 2020-08-17 08:18:23 -04:00
kill.c error exit status is 1 2019-09-11 10:04:40 -04:00
ln.c error exit status is 1 2019-09-11 10:04:40 -04:00
ls.c [user/ls]: List specific device file 2022-08-09 20:27:46 -04:00
mkdir.c error exit status is 1 2019-09-11 10:04:40 -04:00
printf.c user printf(1 -> printf( 2019-08-27 13:13:03 -04:00
rm.c error exit status is 1 2019-09-11 10:04:40 -04:00
sh.c Mark runcmd with attribute noreturn, since it doesn't return 2022-08-02 09:38:22 -04:00
stressfs.c Support exit status for exit/wait 2019-09-10 12:30:10 -04:00
ulib.c Fix ulib's memmove to handle overlap when src<dst 2019-10-08 21:24:03 -04:00
umalloc.c separate source into kernel/ user/ mkfs/ 2019-06-11 09:57:14 -04:00
user.h Add implementations of memcmp and memcpy to ulib 2019-10-08 21:18:54 -04:00
usertests.c Delete unused code (Jude Rich <juder11@gmail.com>) 2021-09-01 07:24:07 -04:00
usys.pl separate source into kernel/ user/ mkfs/ 2019-06-11 09:57:14 -04:00
wc.c error exit status is 1 2019-09-11 10:04:40 -04:00
zombie.c Support exit status for exit/wait 2019-09-10 12:30:10 -04:00