summaryrefslogtreecommitdiffstats
path: root/install/autodetect
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-01-21 22:46:54 +0100
committerDave Reisner <dreisner@archlinux.org>2012-02-22 06:01:49 +0100
commita9acf88c1dda80acd3de5d08f61a7e452fdc4510 (patch)
treef52a2e9e67ed6054eb2ec8b6fb30169b69b9d7a3 /install/autodetect
parentbe9a42675f3ea125c9daa45986a3b58ba8bae226 (diff)
downloadmkinitcpio-a9acf88c1dda80acd3de5d08f61a7e452fdc4510.tar.gz
mkinitcpio-a9acf88c1dda80acd3de5d08f61a7e452fdc4510.tar.xz
use --tab-file flag for findmnt -s
Behavior changed in util-linux commit 2f1ac44b4b. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'install/autodetect')
-rw-r--r--install/autodetect2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/autodetect b/install/autodetect
index cc12124..1b5b438 100644
--- a/install/autodetect
+++ b/install/autodetect
@@ -34,7 +34,7 @@ build() {
add_if_avail "$rootfstype"
# detect separate /usr
- if usrfstype=$(findmnt -nero fstype -s"$BASEDIR/etc/fstab" /usr); then
+ if usrfstype=$(findmnt -snero fstype --tab-file "$BASEDIR/etc/fstab" /usr); then
add_if_avail "$usrfstype"
fi