Add -k flag to file(1) command.
This commit is contained in:
parent
f633ddbade
commit
641769d5b3
|
|
@ -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}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue