Re: Is ReiserFS really a journaling file system, or is it really

From: H. Peter Anvin (hpa@transmeta.com)
Date: Wed Mar 29 2000 - 23:15:21 EST


Followup to: <oup66u5hgk9.fsf@pigdrop.muc.suse.de>
By author: Andi Kleen <ak@suse.de>
In newsgroup: linux.dev.kernel
>
> I guess he wants a truncation to zero bytes if the file was writen to,
> but not closed yet when it crashed. For some apps like an ftp server
> that makes sense, but I wouldn't want it on a general file system
> (because I value my logfiles)
>

Truncation is fine, as long as the resulting file only contains blocks
that actually belonged to the file. stat() will then be able to
detect that the file is partial, and that the transfer needs to be
restarted or resumed.

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:26 EST