diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2021-03-15 12:06:25 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2021-03-15 12:06:25 +0100 |
| commit | a884cdcfede366836d1db97f81a8674cf785f674 (patch) | |
| tree | 01e6da0c1028dc7ce382610f1998f7733a5f13c4 /src | |
| parent | 537ebaccb88baa3a40c392716d33482b3ef1641b (diff) | |
| download | pintos-a884cdcfede366836d1db97f81a8674cf785f674.tar.gz | |
prepare lab 6 scripts
Diffstat (limited to 'src')
| -rwxr-xr-x[-rw-r--r--] | src/userprog/start_pfs.sh | 14 | ||||
| -rwxr-xr-x[-rw-r--r--] | src/userprog/start_recursor.sh | 10 |
2 files changed, 12 insertions, 12 deletions
diff --git a/src/userprog/start_pfs.sh b/src/userprog/start_pfs.sh index b4acc54..8948e32 100644..100755 --- a/src/userprog/start_pfs.sh +++ b/src/userprog/start_pfs.sh @@ -1,10 +1,10 @@ -make -j4 +make -j12 cd build pintos-mkdisk fs.dsk 800 dd if=/dev/urandom of=random bs=1 count=100 -pintos --qemu -- -f -q -pintos --qemu -p random -a random -- -q -pintos --qemu -p ../../examples/pfs -a pfs -- -q -pintos --qemu -p ../../examples/pfs_writer -a pfs_writer -- -q -pintos --qemu -p ../../examples/pfs_reader -a pfs_reader -- -q -pintos --qemu -- run pfs +pintos --qemu -v -- -f -q +pintos --qemu -v -p random -a random -- -q +pintos --qemu -v -p ../../examples/pfs -a pfs -- -q +pintos --qemu -v -p ../../examples/pfs_writer -a pfs_writer -- -q +pintos --qemu -v -p ../../examples/pfs_reader -a pfs_reader -- -q +pintos --qemu -v -- run pfs diff --git a/src/userprog/start_recursor.sh b/src/userprog/start_recursor.sh index ed80e1a..6f5e99b 100644..100755 --- a/src/userprog/start_recursor.sh +++ b/src/userprog/start_recursor.sh @@ -1,6 +1,6 @@ -make -j4 -cd build +make -j12 +cd build pintos-mkdisk fs.dsk 400 -pintos --qemu -- -f -q -pintos --qemu -p ../../examples/recursor_ng -a recursor_ng -- -q -pintos --qemu -m 128 -- run "recursor_ng pintosmaster 6 1" +pintos -v --qemu -- -f -q +pintos -v --qemu -p ../../examples/recursor_ng -a recursor_ng -- -q +pintos -v --qemu -m 128 -- run "recursor_ng pintosmaster 6 1" |
