diff options
author | ramon <ramongomez@us.es> | 2013-11-04 11:52:40 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2013-11-04 11:52:40 +0000 |
commit | 9836a8639d63c30413453818ae191dba136be088 (patch) | |
tree | 38b76253480a59ce5742d672353e6ca8b738ac92 /client/engine/Image.lib | |
parent | 7bc0d797e77a7a43dcb67cd9bb0d78d5eefa4bf5 (diff) |
#602: Soportar ejecutables de Partclone específicos para sistemas de ficheros exFAT y UFS, incluyendo retrocompatibilidad.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4072 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/engine/Image.lib')
-rwxr-xr-x | client/engine/Image.lib | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/client/engine/Image.lib b/client/engine/Image.lib index 82fcf595..d749d397 100755 --- a/client/engine/Image.lib +++ b/client/engine/Image.lib @@ -73,15 +73,19 @@ case "$TOOL" in JFS) PARAM1="partclone.jfs" ;; XFS) PARAM1="partclone.xfs" ;; NTFS) PARAM1="partclone.ntfs" ;; + EXFAT) PARAM1="partclone.exfat" ;; FAT16|FAT32) PARAM1="partclone.fat" ;; HFS|HFSPLUS) PARAM1="partclone.hfsp" ;; + UFS) PARAM1="partclone.ufs" ;; *) PARAM1="partclone.dd" ;; esac + # Por compatibilidad, si no existe el ejecutable usar por defecto "parclone.dd". + which $PARAM1 &>/dev/null || PARAM1="partclone.dd" PARAM1="$PARAM1 -d0 -F -c -s $PART" ;; esac -# mbuffer -which mbuffer > /dev/null && PARAM2="| mbuffer -q -m 40M " || PARAM2=" " +# Comprobar que existe mbuffer. +which mbuffer &>/dev/null && PARAM2="| mbuffer -q -m 40M " || PARAM2=" " # Nivel de compresion. case "$LEVEL" in |