Messages in this thread |  | | | From | (H. Peter Anvin) | | Subject | Re: Is ReiserFS really a journaling file system, or is it really | | Date | 29 Mar 2000 20:15:21 -0800 |
| |
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/
|  |