diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2001-05-17 17:22:46 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2001-05-17 17:22:46 +0000 |
commit | e99be40011b9c7f3ff41b9654b5bf9272f546a1f (patch) | |
tree | 5f6bc691c475bef325e8c896af9328f5828a8c48 /benchmarks/lmbench | |
parent | Update to 0.6.3. (diff) |
Change defaults to match FreeBSD, not Linux.
Approved by: fenner
Notes
Notes:
svn path=/head/; revision=42677
Diffstat (limited to 'benchmarks/lmbench')
-rw-r--r-- | benchmarks/lmbench/files/patch-config-run | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/benchmarks/lmbench/files/patch-config-run b/benchmarks/lmbench/files/patch-config-run new file mode 100644 index 000000000000..d8b320f1c1de --- /dev/null +++ b/benchmarks/lmbench/files/patch-config-run @@ -0,0 +1,37 @@ +--- scripts/config-run.orig Sun May 6 16:04:39 2001 ++++ scripts/config-run Sun May 6 16:06:10 2001 +@@ -32,12 +32,12 @@ + drive. The simplest way to do this is to run the benchmark as root. + If you are paranoid about running code as root, good for you, you should + be. The paranoid solution is to grab another window, pick the disk +-drive, make it world readable ( chmod a+r /dev/rsd0a ), and then specify ++drive, make it world readable ( chmod a+r /dev/da0s1a ), and then specify + that drive below. Remember to change the permissions back after running + the benchmark if you took the paranoid route. + + If you want to get disk latency results, please specify the disk device +-to use, such as /dev/rsd0a. ++to use, such as /dev/da0s1a. + + EOF + echo $ECHON "DISK [default none] $ECHOC" +@@ -85,16 +85,16 @@ + cat<<EOF; + + We need a place to store a $MB Mbyte file as well as create and delete a +-large number of small files. We default to /usr/tmp. If /usr/tmp is a ++large number of small files. We default to /tmp. If /tmp is a + memory resident file system (i.e., tmpfs), pick a different place. + Please specify a directory that has enough space and is a local file + system. + + EOF +- echo $ECHON "FSDIR [default /usr/tmp] $ECHOC" ++ echo $ECHON "FSDIR [default /tmp] $ECHOC" + read FSDIR + if [ X$FSDIR = X ] +- then FSDIR=/usr/tmp ++ then FSDIR=/tmp + else mkdir -p $FSDIR 2>/dev/null + fi + if [ -d $FSDIR -a -w $FSDIR ] |