29 Aug
2013
29 Aug
'13
1:32 a.m.
Doing this oddly results in findmnt never stat(2)'ing the target directory, which might be problematic with stale NFS mounts and maybe autofs. Fixes FS#36629, I suppose. Signed-off-by: Dave Reisner <dreisner@archlinux.org> --- install/autodetect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/autodetect b/install/autodetect index d6e9e29..3710e68 100644 --- a/install/autodetect +++ b/install/autodetect @@ -37,7 +37,7 @@ build() { fi # detect filesystem for separate /usr - if usrfstype=$(findmnt -snero fstype --tab-file '/etc/fstab' /usr); then + if usrfstype=$(findmnt -snero fstype --tab-file '/etc/fstab' -T '/usr'); then add_if_avail "$usrfstype" fi -- 1.8.4