3 # Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved.
8 # Commands relitive to dmapi qa
10 DMAPI_QASUITE1_DIR=$here/dmapi/src/suite1/
11 DMAPI_QASUITE2_DIR=$here/dmapi/src/suite2/
13 DMAPI_LS_TO_COPY_PATH=$DMAPI_QASUITE2_DIR/bindir/ls_to_copy
15 _dmapi_scratch_mount () {
16 if [ `echo "$MOUNT_OPTIONS" | grep -c dmapi` -gt 0 -o \
17 `echo "$MOUNT_OPTIONS" | grep -c dmi` -gt 0 ] ; then
18 #already got dmapi options set
22 _scratch_mount "-o dmapi,mtpt=$SCRATCH_MNT"
26 if [ $dmapi_mount_result -ne 0 ] ; then
27 _notrun "Assuming DMAPI modules are not loaded"