LAB #6: Project Start
DUE AND DEMO: 3-30-2023
1. Download ~samples/proj1.tgz
Run zcat proj1.tgz | tar xvf - to extract files
Will be explained in class
2. util.c file contains functions to be implemented:
MINODE *iget(dev, ino)
int iput(mip)
MINODE *path2inode(pathname)
===============================
Implement fuctions in util.c
===============================
The requirememnts are for YOU to implement ls(), cd(), pwd()
3. HOW TO ls [pathname]:
Read Chapter 11.7.3: HOW TO ls and Algorithm of ls
4. HOW TO chdir(char *pathname)
Read Chapter 11.7.3: HOW TO chdir
5. HOW TO pwd()? pwd(running->cwd):
READ Chapter 11.7.3: HOW TO pwd
6. Sample Solution: ~samples/LAB6