[systemd-devel] [RFC 1/4] use libmount to enumerate /proc/self/mountinfo

Chris Leech cleech at redhat.com
Fri Nov 21 10:38:13 PST 2014


On Sat, Nov 15, 2014 at 02:09:26PM +0100, Tom Gundersen wrote:
> Usually we don't do this kind of fallback, but rather disable the relevant
> functionality if the lib is not available.
> 
> In this case I guess it means making support for .mount units optional. I
> could imagine someone doing that in very specialised use cases, but maybe
> it makes more sense to make the library a hard dependency for now...

OK, I was following the optional lead from libblkid and I guess thinking
about non util-linux/libmount mount implementations (busybox?).

But I see that util-linux is listed as a hard dependency anyway, so I'll
remove the fallback code and send updated patches.

- Chris



More information about the systemd-devel mailing list