nfs-client-dbench.rcS (1787:0dcbb68fbea8) | nfs-client-dbench.rcS (1878:4a9c959b3e93) |
---|---|
1#!/bin/sh 2# 3# /etc/init.d/rcS 4# 5 6echo -n "mounting swap..." 7/sbin/swapon /dev/hdc 8echo "done." --- 32 unchanged lines hidden (view full) --- 41 42echo -n "mounting remote share..." 43mkdir /nfs 44mount 10.0.0.1:/nfs /nfs 45echo "done." 46 47cd /nfs 48 | 1#!/bin/sh 2# 3# /etc/init.d/rcS 4# 5 6echo -n "mounting swap..." 7/sbin/swapon /dev/hdc 8echo "done." --- 32 unchanged lines hidden (view full) --- 41 42echo -n "mounting remote share..." 43mkdir /nfs 44mount 10.0.0.1:/nfs /nfs 45echo "done." 46 47cd /nfs 48 |
49initparam=`cat /proc/m5/initparam` | 49initparam=`m5 initparam` |
50 51if test X$initparam == X0; then 52 /sbin/m5 checkpoint 100000000 2000000000 53 dd if=/dev/zero of=foo bs=1024k count=512 54else 55 /sbin/m5 checkpoint 1000000000 2000000000 56 /benchmarks/dbench/dbench $initparam 57fi 58 59/sbin/m5 exit | 50 51if test X$initparam == X0; then 52 /sbin/m5 checkpoint 100000000 2000000000 53 dd if=/dev/zero of=foo bs=1024k count=512 54else 55 /sbin/m5 checkpoint 1000000000 2000000000 56 /benchmarks/dbench/dbench $initparam 57fi 58 59/sbin/m5 exit |