Re: mount -f regression in v2.21's new-mount

Matthew Burgess
2012-03-09T11:38:12Z

On Fri, 9 Mar 2012 11:53:04 +0100, Karel Zak <kzak@redhat.com> wrote:
> On Thu, Mar 08, 2012 at 08:25:00PM +0000, Matt Burgess wrote:
>> I've attached LIBMOUNT_DEBUG output from the 'mount -a' call that our
>> bootscript does. Note how mount correctly detects that /proc, /sys
>
> No, it calls mount(2) syscall for /proc. The problem is that the
> detection code expects /proc/self/mountinfo (used on systems with
> mtab -> /proc/mounts symlink), but your system uses regular mtab.
>
> I'll fix it. Thanks.

Thanks! Is there a consensus opinion on whether users should be
using a regular mtab or a symlink to /proc/self/mountinfo?

Regards,

Matt.