summaryrefslogtreecommitdiffstats
path: root/client/engine/FileSystem.lib
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2012-09-14 10:52:58 +0000
committerramon <ramongomez@us.es>2012-09-14 10:52:58 +0000
commitbbe1bcfc86a4025b54d71501d381e20472eeebc1 (patch)
treed162e1224522563eed768901c2007fc12f1c3d5e /client/engine/FileSystem.lib
parent9a09967aaf5071183c1b6307328d0de6de00024d (diff)
#142 #397: Cambios en librería {{{Image}}}:
* función {{{ogCreateImage}}} genera el comando a ejecutar, crea bloqueos y ejecuta dicho comando; * función {{{ogCreateImageSyntax}}} integra el código de {{{ogPartcloneSyntax}}} para evitar efectos colaterales; * eliminada función {{{ogPartcloneSyntax}}}. git-svn-id: https://opengnsys.es/svn/branches/version1.0@3281 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/engine/FileSystem.lib')
-rwxr-xr-xclient/engine/FileSystem.lib5
1 files changed, 1 insertions, 4 deletions
diff --git a/client/engine/FileSystem.lib b/client/engine/FileSystem.lib
index 5cc7cef8..37e13420 100755
--- a/client/engine/FileSystem.lib
+++ b/client/engine/FileSystem.lib
@@ -417,10 +417,7 @@ case "$ID" in
;;
*) # Detectar sistema de ficheros.
ogMount $1 $2 &>/dev/null
- if ogIsFormated $1 $2 2>/dev/null; then
- TYPE=$(mount | \
- awk -v p=$PART '{ if ($1==p) { print toupper($5); } }')
- fi
+ TYPE=$(mount | awk -v p=$PART '{ if ($1==p) { print toupper($5); } }')
# Detectar otros sistemas de archivos (FUSE, VFAT).
case "$TYPE" in
FUSEBLK) TYPE="NTFS" ;; # usar "file -Ls" para detectar