Installing and Building Nachos
on Duke ACPUB Systems

Create a directory in which to unpack the code directory. I suggest 110/ or cps110/ in your home directory to make it easy for us to find.

mkdir dirname

chmod go-rwx dirname

cd dirname

tar xf /afs/acpub.duke.edu/project/cps/pkgs/courseware/cps110/nachos-3.4-fall02/code.tar

cd code

Now you are ready to build Nachos for the first time:

gmake

Expect the first nachos build to take some time (~15 minutes).

You may wish to open your nachos pool to other members of your group, but not the world. You can grant permissions to specific users as follows. (Note you may need to run 'klog' for AFS to respect new permissions.)

fs setacl dirname username rwlid
Alternatively you can give only read access:
fs setacl dirname username rl
And revoke them:
fs setacl dirname username none
Check permissions:
fs listacl dirname