diff options
author | Pádraig Brady <P@draigBrady.com> | 2015-04-02 04:18:02 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-04-03 14:50:58 +0100 |
commit | 3fb6e360363744462ce15c381f0b116c6fc4ce82 (patch) | |
tree | db4308f25ba1351f75923951bce089548d167283 /DEPENDENCIES | |
parent | e2e66692cd072a39ce26ecf94117f934008aab24 (diff) | |
download | gnulib-3fb6e360363744462ce15c381f0b116c6fc4ce82.tar.gz |
mountlist: remove dependency on libmount
* lib/mountlist.c (read_file_system_list): Parse /proc/self/mountinfo
directly, rather than depending on libmount, which has many
dependencies due to its dependence on libselinux, as detailed at:
http://lists.gnu.org/archive/html/bug-gnulib/2015-01/msg00063.html
Note we restrict this to __linux__ as that's probably where this
interface will remain. If ever porting, it would be best
to first pull the makedev() wrapper from coreutils to a gnulib module.
Note also we don't add a getline dependency to the mountlist module,
as all Linux versions are sufficient.
Diffstat (limited to 'DEPENDENCIES')
-rw-r--r-- | DEPENDENCIES | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/DEPENDENCIES b/DEPENDENCIES index 44f7ca04df..e19a37e7a7 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -162,10 +162,3 @@ at any time. + Download: http://ftp.gnu.org/gnu/libtool/ ftp://ftp.gnu.org/gnu/libtool/ - -* util-linux - + Optional. - Needed if you want to support /proc/self/mountinfo available on Linux. - This will give an ability to propagate device ID of a mounted file system. - + Download: - http://www.kernel.org/pub/linux/utils/util-linux/ |