Re: XFS: how to NOT null files on fsck?

Norberto Bensa
2004-07-10T19:46:38Z

Andreas Schwab wrote:
> Norberto Bensa <norberto+linux-kernel@bensa.ath.cx> writes:
> > Chris Wedgwood wrote:
> >> XFS does not journal data.
> >
> > I think we all know that. The point, why the hell does it null files?
>
> Security. You don't want old contents of /etc/shadow appear in random
> files after a crash.

Wow. You're telling me that XFS doesn't know if a given piece of the log is
from file-a or file-b and just in case it zeroes its contents?

If that's true, XFS has moved to my never-ever-use-it-again list.

Thanks,
Norberto