NAME: Collin Nelson ID: 11694205 NAME: Anna Ueti ID: 11629998
-
Do EECS online course evaluation.
-
Fill in NAMEs, IDs. Return to TA before 4-27-2022.
-
DEMO with TA at scheduled time AND submit a ZIP file of YOUR project to TA
-
Immediately after demo to TA, get on KCW's ZOOM session for Interview.
-
Download mydisk, disk2, disk3, dif2 from samples/PROJECT directory
LEVEL-1: Use mydisk 60 % COMMANDS EXPECTED RESULTS OBSERVED & comments
startup & menu: start up, show commands menu ______________________ ls show contents of / directory ______________________
mkdir /a ; ls show DIR /a exits; ls works _______________________
mkdir /a/b ; ls /a make dir with pathname _______________________
cd /a/b ; pwd cd to a pathname, show CWD ________________________
cd ../../ ; pwd cd upward, show CWD _______________________
creat f1 ; ls creat file, show f1 is a file _______________________
link f1 f2; ls hard link, both linkCount=2 ________________________
unlink f1; ls unlink f1; f2 linkCount=1 ________________________
symlink f2 f3; ls symlink; ls show f3 -> f2 ________________________
rmdir /a/b; ls rmdir and show results ________________________
LEVEL-2: Use disk2: (file1,tiny,small,large,huge) 25 %
cat large; cat huge show contents to LAST LINE === END OF huge FILE === _________________________
cp large newlarge; ls show they are SAME size _________________________
cp huge newhuge ; ls show they are SAME size _________________________
MUST DO THIS: exit YOUR project;
(In Linux): diff2 MUST not show any lines _________________________
============ IF can not do cat, cp: TRY to do these for LEVEL2 ================ open small 0; pfd show fd=0 opened for R _________________________
read 0 20; pfd show 20 chars read _________________________
open file1 1; pfd show fd=1 opened for W _________________________
write 1 "abcde"; ls show file1 size=5 _________________________
close 1; pfd show fd=1 is closed _________________________
LEVEL-3: start with disk2; MOUNT disk3 15 %
mount disk3 /mnt; mount disk3.2 on /mnt ___________________________
ls /mnt contents of disk3 ___________________________
cd /mnt/DIR1; pwd show CWD is /mnt/DIR1 ___________________________
mkdir ABC; ls show ABC exits ___________________________
cd ../../; pwd show CWD=/ ___________________________
Switch to run P1; rmdir dir1; unlink file1 : not owner _________________________