#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
remotes/github/debian-pkg
ramon 2014-06-16 12:30:58 +00:00
parent b762358789
commit 8044615766
1 changed files with 1 additions and 1 deletions

View File

@ -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" ;;