summaryrefslogtreecommitdiffstats
path: root/client/engine/Image.lib
diff options
context:
space:
mode:
authoradv <adv@uma.es>2011-09-21 16:00:34 +0000
committeradv <adv@uma.es>2011-09-21 16:00:34 +0000
commit0084b423a463c8f63f91b2c7fdef1adaf00a5ba8 (patch)
treeca23891f32ea4e99b665b7c19d3738e68964bae9 /client/engine/Image.lib
parent41193048040aed1e756824a5890f3bd6388d65f1 (diff)
branch version 1.0 #440 partclone -d0 -C -I
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2312 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/engine/Image.lib')
-rwxr-xr-xclient/engine/Image.lib4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/engine/Image.lib b/client/engine/Image.lib
index a4b82b02..7934525e 100755
--- a/client/engine/Image.lib
+++ b/client/engine/Image.lib
@@ -14,7 +14,7 @@ function ogPartcloneSyntax ()
{
#TODO: comprobar como unico parametro particion /dev/sda1
#COMPAR="partclone.$FS --clone --force --source $PART"
-COMPAR="-F -c -s "
+COMPAR=" -d0 -F -c -s "
TYPE="$(ogGetFsType `ogDevToDisk $1`)"
case "$TYPE" in
EXT[234])
@@ -210,7 +210,7 @@ if [ "$#" -eq 4 ]; then
;;
"partclone" | "PARTCLONE")
# -C para que no compruebe tamaƱos
- TOOL="| partclone.restore -o $PART"
+ TOOL="| partclone.restore -d0 -C -I -o $PART"
;;
*)
ogRaiseError $OG_ERR_NOTFOUND "Tools imaging no valid $TOOL" || return $?