From 641769d5b384cb8b90ba55c5115b05b3c58706bd Mon Sep 17 00:00:00 2001 From: "Slawomir Wojciech Wojtczak (vermaden)" Date: Wed, 6 Aug 2014 23:30:09 +0200 Subject: [PATCH] Add -k flag to file(1) command. --- automount | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automount b/automount index 5ce2c1f..f34f0da 100755 --- a/automount +++ b/automount @@ -294,7 +294,7 @@ case ${2} in OPTS="-o noatime" fi __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 __create_mount_point ${DEV} __wait_for_device ${DEV}