Tue 07 of Sep, 2010 [00:43 UTC]  
Menu

cmount

cmount
edit print PDF
Português Brasileiro
if test $# != 3
then
        echo "$0 <filesystem> <device> <mount point>"
        exit 100
fi

mappername=`echo $2 | sed 's/\//_/g'`

false

while [ $? -ne 0 ]
do
        umount $3
        echo "mounting $2 on $3 with filesystem $1"
        cryptsetup remove $mappername
        cryptsetup create $mappername $2
        mount -t $1 /dev/mapper/$mappername $3
done




Help = Ajuda

Created by: hhabermann last modification: Thursday 05 of August, 2010 [12:43:37 UTC] by Anonymous