From 78d3706dacb929107532e904f5dbb6427d8b0bc0 Mon Sep 17 00:00:00 2001 From: Ulrich Dangel Date: Sun, 8 Jan 2012 12:05:40 +0100 Subject: [PATCH 1/1] Flexibilize mount handling for the DCS device. This commit allows to specify mount options to be used for mounting the DCSDEVICE. This can be used to mount devices which need additional/special mount options. --- autoconfig.functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoconfig.functions b/autoconfig.functions index 42c03bd..23eee82 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -1530,7 +1530,7 @@ else else [ -d $DCSMP ] || mkdir $DCSMP umount $DCSMP >>$DEBUG 2>&1 # make sure it is not mounted - mount -o ro -t auto $DCSDEVICE $DCSMP ; RC="$?" + mount -o ${MOUNTOPTIONS:-ro} -t ${DCSFS:-auto} $DCSDEVICE $DCSMP ; RC="$?" if [[ $RC == 0 ]]; then einfo "Successfully mounted $DCSDEVICE to $DCSMP (readonly)." ; eend 0 else -- 2.1.4