On 08/28/14 23:06, Paul de Weerd wrote:
On Thu, Aug 28, 2014 at 06:27:48PM +0000, Miod Vallat wrote: | > >Which is why the current way to remove softdep from a filesystem is a | > >rw+softdep -> ro -> rw transition, which would no longer work with your | > >diff. | > | > It would work, but you'd have to explicitly disable softdep, as one might | > expect to be required when removing softdep: | | Oh, indeed. | | Then it's a matter of deciding whether we want mount -u to simply update | flags (and then only toggle ro/rw, and leave softdep unchanged) or to | update behaviour (and then clear softdep on rw->ro transition as softdep | do not apply to read-only filesystems). You're in favour of the former, | I am in favour of the latter. Who wants to be the referee?
I wouldn't expect any flags to change unless I ask for it, be it noexec, async, softdep or whatever.
/Alexander
I hardly qualify as a referee but I'll add that I think Boudewijn's approach makes more sense to me. Even though I quite often use -ur/-uw to drop softdep from filesystems. Especially given Boudewijn's point that putting ro,softdep in fstab results in a filesystem that would get (still have) softdep after -uw. I don't have very strong feelings on the matter (but, yes, strong enough to write this e-mail ;)
Cheers, Paul 'WEiRD' de Weerd