mkdir check error from mknod

chdir return -1 if target not a dir
This commit is contained in:
rtm 2006-08-26 15:06:59 +00:00
parent a84585de63
commit a6c28c9779
3 changed files with 81 additions and 10 deletions

9
Notes
View file

@ -114,17 +114,10 @@ why does shell often ignore first line of input?
test: one process unlinks a file while another links to it
test: one process opens a file while another deletes it
test: mkdir. deadlock d/.. vs ../d
test: sub-sub directories. mkdir("d1/d2")
test: mkdir. deadlock d/.. vs ../d, two processes.
test: dup() shared fd->off
test: indirect blocks. files and directories.
test: sbrk
test: does echo foo > x truncate x?
test: does create/mkdir/link extract last component correctly?
does namei insist that all the intermediate directories exist?
test: creat/link/mkdir w/ / in name
test: try to create dir ents when intermediate dir doesn't exist
or is a file, not a dir
make proc[0] runnable
cpu early tss and gdt