lkml.org 
[lkml]   [2000]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Is ReiserFS really a journaling file system, or is it really
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [from the cache]
©2003-2011 Jasper Spaans