Add -k flag to file(1) command.

This commit is contained in:
Slawomir Wojciech Wojtczak (vermaden) 2014-08-06 23:30:09 +02:00
parent f633ddbade
commit 641769d5b3
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ case ${2} in
OPTS="-o noatime" OPTS="-o noatime"
fi fi
__wait_for_device ${DEV} __wait_for_device ${DEV}
case $( file -b -L -s ${DEV} | sed -E 's/label:\ \".*\"//g' ) in case $( file -k -b -L -s ${DEV} | sed -E 's/label:\ \".*\"//g' ) in
(*FAT*) # must be before NTFS section because: newfs_msdos -O NTFS -L NTFS (*FAT*) # must be before NTFS section because: newfs_msdos -O NTFS -L NTFS
__create_mount_point ${DEV} __create_mount_point ${DEV}
__wait_for_device ${DEV} __wait_for_device ${DEV}