Mostrando entradas con la etiqueta File systems. Mostrar todas las entradas
Mostrando entradas con la etiqueta File systems. Mostrar todas las entradas

lunes, 7 de noviembre de 2011

Practical Part II


Practical Part II


Using the file system functions




and here's the video about the slides


On the video.

1- check for the DISK of nachos ( the simulated HDD).
2- use the nachos -f to force the format of the hdd and there's no hdd then nachOS create one.
3- nachos create a new DISK with 5000bytes of space
4- Enter in /nachos/code/machine/disk.cc and modify the magicsize if you want more space
5- use nachos -cp to copy the halt program into the nachos DISK
6- use nachos -l to see the content of the DISK in this case only the file ALTO
7- now use nachos -x to execute  the program from nachos DISK
8- now copy one file to the DISK
9- use nachos -p to print the content of the file
10- that's all.