Re: Strange behavior after "rm -rf //"
From: Ivan Sizov <hidden>
Date: 2016-08-08 19:01:20
2016-08-08 21:52 GMT+03:00 Hugo Mills [off-list ref]:
On Mon, Aug 08, 2016 at 09:38:28PM +0300, Ivan Sizov wrote:quoted
P.S. IMHO, log replay by default is a quite dangerous thing. I didn't know about that change and I could lose all files if the live USB had 4.6 kernel))Log reply on mount has _always_ been the default, and should remain so. It gives you the expected semantics after a power loss: all th efiles that you'd written up to the point of the power loss actually appear afterwards. (If this didn't happen, you could lose up to 30s of writes from before the crash). It's only very recently that there's been an option to prevent it, which is useful in a limited number of cases (such as trying to undelete a file, which is not really a supported operation in any case).
I mean only RO mount, of course. So, will zero-log prevent my files during RW mount? -- Ivan Sizov (SIvan)