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.
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.