diff -r -u coreutils-8.24.0/configure coreutils-8.24/configure --- coreutils-8.24.0/configure 2015-07-03 17:01:58.000000000 -0400 +++ coreutils-8.24/configure 2016-03-04 10:02:32.281596995 -0500 @@ -2134,6 +2134,9 @@ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; + -enable-mtab | --enable-mtab) + CFLAGS="$CFLAGS -DUSE_MTAB" ;; + -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. diff -r -u coreutils-8.24.0/lib/mountlist.c coreutils-8.24/lib/mountlist.c --- coreutils-8.24.0/lib/mountlist.c 2015-07-01 11:08:30.000000000 -0400 +++ coreutils-8.24/lib/mountlist.c 2016-03-04 09:50:56.621941386 -0500 @@ -463,7 +463,8 @@ { FILE *fp; -#ifdef __linux__ +#if defined __linux__ && !defined USE_MTAB + /* Try parsing mountinfo first, as that make device IDs available. Note we could use libmount routines to simplify this parsing a little (and that code is in previous versions of this function), however