GNOME Bugzilla – Bug 771438
Turn on libmount by default on linux
Last modified: 2016-09-18 20:26:28 UTC
Here's a patch to make libmount the default on Linux; see https://bugzilla.gnome.org/show_bug.cgi?id=747540 for the kind of bugs that pop up when libmount is enabled where people are told to "enable libmount then" The result could be considered over-engineered - perhaps libmount should be a hard-requirement on Linux and not even possible to enable elsewhere? (it's part of util-linux)
Created attachment 335542 [details] [review] Turn on libmount by default on linux The libmount code produces somewhat different results than the older Linux code that would parse /proc/mounts; for example, bind mounts appear in the libmount output. To try and get as many GLib users as possible to have the same behavior, on Linux, make GLib error out on missing libmount unless --disable-libmount is passed.
Attachment 335542 [details] pushed as 496cd8a - Turn on libmount by default on linux
I'm disabling it in jhbuild; I don't want to build util-linux and 2.28 is too new to put into sysdeps.