[LTP] [PATCH 0/3] tst_device: add support for overlayfs

Petr Vorel pvorel@suse.cz
Fri Feb 7 18:15:10 CET 2025


Hi Jeff,

> Petr Vorel <pvorel@suse.cz> writes:

> > @Jeff: would it be too hard to parse /proc/self/mountinfo (I suppose
> > /proc/self/mounts is not enough)? I'm looking into libmount code E.e.

> Looking more closely, I think /proc/self/mounts will work just fine.  I
> was pointed to mountinfo originally and didn't consider mounts.  Thanks
> for the suggestion, that will make this much easier!

Great, thank you! Not dragging libmount as a hard dependency for base library
helps us a lot.

Kind regards,
Petr

> Cheers,
> Jeff



More information about the ltp mailing list