VFS updates, readme updates.

Separated vfs file as a specific file. vm file is not always a vfs file.
Updated the README
sys_open was not returning back to client, added that.
Added comments for future vfs additions.
This commit is contained in:
Bahadir Balban
2008-04-09 16:55:54 +01:00
parent dd3f35bbd4
commit 81ebffdc87
9 changed files with 96 additions and 35 deletions

View File

@@ -113,14 +113,15 @@ int lsdir(char *path)
perror("OPEN");
return 0;
} else
// printf("OPEN OK.\n");
printf("OPEN OK.\n");
if ((bytes = os_readdir(fd, dents, sizeof(struct dirent) * DENTS_TOTAL)) < 0) {
perror("GETDENTS");
return 0;
}
//printf("GETDENTS OK.\n");
} else {
printf("GETDENTS OK.\n");
print_dirents(path, dents, bytes);
}
return 0;
}