/[clonezilla-sysresccd]/trunk/create-clonezilla-sysresccd/patch-clonezilla-sysresccd.sh
ViewVC logotype

Diff of /trunk/create-clonezilla-sysresccd/patch-clonezilla-sysresccd.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 103 by sng, Wed Aug 25 11:40:55 2010 UTC revision 104 by sng, Mon Sep 6 14:09:54 2010 UTC
# Line 364  test "$(whoami)" = "root" || noRoot Line 364  test "$(whoami)" = "root" || noRoot
364    }    }
365  }  }
366  printVersion  printVersion
367    set -x
368  echo -n "Mounting files...   "  echo -n "Mounting files...   "
369  isClonezillaSysRescCDRunning  isClonezillaSysRescCDRunning
370    
# Line 382  if [ -z $(mount | grep "$inputFile" | se Line 382  if [ -z $(mount | grep "$inputFile" | se
382      # working with ClonezillaSysRescCD      # working with ClonezillaSysRescCD
383      mountPoint=/mountPoint.$$      mountPoint=/mountPoint.$$
384    fi    fi
385      mountOptions="-oro"
386    if [ -z "$workingFromCD" ];then    if [ -z "$workingFromCD" ];then
387      # working with ClonezillaSysRescCD image      # working with ClonezillaSysRescCD image
388      mountOptions="-oloop"      mountOptions="-oloop"
# Line 403  if [ -z $(mount | grep "$inputFile" | se Line 404  if [ -z $(mount | grep "$inputFile" | se
404    fi    fi
405  else  else
406    # our inputFile is mounted!!!    # our inputFile is mounted!!!
407    mountPoint=$(mount | grep "$inputFile" | grep 's|.* on \(.*\) type .*)|\1|')    mountPoint=$(mount | grep "$inputFile" | sed 's|.* on \(.*\) type .*)|\1|')
408  fi  fi
409  ##############################################################################  ##############################################################################
410    

Legend:
Removed from v.103  
changed lines
  Added in v.104

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26