mirror of
https://github.com/drasko/codezero.git
synced 2026-01-23 08:13:15 +01:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user