Comment 5 for bug 1039887

Revision history for this message
Dimitri John Ledkov (xnox) wrote : Re: [Bug 1039887] Re: fstab does not honor /proc mount options

On 25 March 2014 19:50, Simon Déziel <email address hidden> wrote:
> Dimitri, any chance to see this implemented in Trusty?
>

So I took a stab at implementing this. To figure out whether or not a
remount is required, I had to start parsing all options specified in
the right order, which turned out to be non-trivial given that many
options are boolean singletons (e.g. ro/rw) thus I quite trivially end
up remounting things way too many times then needed.

However coming to think about it again, I wonder if a simple "if
already mounted and the mounts are specified in /etc/fstab assume a
remount is required" should suffice all cases. I'll try again to
implement that.

--
Regards,

Dimitri.