Modified to use "_scratch_mount -onoatime" rather than hardcoded mount
authorAllan Randall <allanr@sgi.com>
Fri, 23 Jun 2006 02:58:26 +0000 (02:58 +0000)
committerAllan Randall <allanr@sgi.com>
Fri, 23 Jun 2006 02:58:26 +0000 (02:58 +0000)
Merge of master-melb:xfs-cmds:26323a by kenmcd.

  Modified to use using "_scratch_mount -onoatime" rather than hardcoded mount

120

diff --git a/120 b/120
index cd07a2115610b67c274a0e3680f70a71738dcef7..cdc95d3a5f3a5fefabe14bf4e02171eed85c7d15 100755 (executable)
--- a/120
+++ b/120
@@ -45,7 +45,7 @@ function _compare_access_times()
 
 }
 
 
 }
 
-if ! mount -o noatime $SCRATCH_DEV $SCRATCH_MNT >$tmp.out 2>&1
+if ! _scratch_mount -onoatime >$tmp.out 2>&1
 then
     cat $tmp.out
     echo "!!! mount failed"
 then
     cat $tmp.out
     echo "!!! mount failed"