Rework NTFS/MSDOS/FAT detection.

This commit is contained in:
Slawomir Wojciech Wojtczak (vermaden) 2015-07-28 12:05:12 +02:00
parent a15ffbb529
commit 76b06dc5ed
1 changed files with 10 additions and 0 deletions

View File

@ -345,6 +345,16 @@ __fstype() { # 1=DEV
TYPE=NTFS
return
fi
if echo "${TYPE}" | grep -q 'MSDOS'
then
TYPE=FAT
return
fi
if echo "${TYPE}" | grep -q 'FAT (32 bit)'
then
TYPE=FAT
return
fi
if echo "${TYPE}" | grep -q 'FAT'
then
TYPE=FAT