summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2014-06-16 12:30:58 +0000
committerramon <ramongomez@us.es>2014-06-16 12:30:58 +0000
commit80446157661df19f966d952499706123c8c4b89a (patch)
tree67b5831534d0992531bd98d84f1f0e0507695554 /client
parentb7623587898daa53d8153a1ff6fc204484cadf5f (diff)
#397: Mejorar rendimiento en detección de sistemas de archivos FAT en función {{{ogGetFsType}}}.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4306 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client')
-rwxr-xr-xclient/engine/FileSystem.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/engine/FileSystem.lib b/client/engine/FileSystem.lib
index 74827dd8..2cdc1c0b 100755
--- a/client/engine/FileSystem.lib
+++ b/client/engine/FileSystem.lib
@@ -405,7 +405,7 @@ case "$TYPE" in
ogIsFormated $1 $2 2>/dev/null && TYPE="CACHE"
fi
;;
- VFAT) TYPE="$(dosfsck -nv $PART | awk '/bit entries/ {printf "FAT%s",$3}')" ;;
+ VFAT) TYPE="$(blkid -po export $PART | awk -F= '$1~/^VERSION$/ { print toupper($2) }')" ;;
SWAP) TYPE="LINUX-SWAP" ;;
LVM*) TYPE="LINUX-LVM" ;;
*RAID*) TYPE="LINUX-RAID" ;;