xfs
[Top] [All Lists]

Re: File corruption

To: Larry Altneu <larry.altneu@xxxxxxxxxxxxxxxxxxxxx>, "'linux-xfs@xxxxxxxxxxx'" <linux-xfs@xxxxxxxxxxx>
Subject: Re: File corruption
From: Seth Mos <knuffie@xxxxxxxxx>
Date: Tue, 07 Aug 2001 17:54:24 +0200
In-reply-to: <01B6B159F711D41194B2005004C2905C107628@xxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
At 08:40 7-8-2001 -0700, Larry Altneu wrote:
I am experiencing a problem that results in corruption of the data for a
freshly written file. It is very reproducible by creating and saving a file
with vi and then pulling the plug on the system. When it comes back up, the
file exists with the proper size but it contains all zeros. Any guidance
would be appreciated.

Vi truncates the file and does not overwrite the file. This happens with all programs that truncate the file before writing to it.

There was a thread about this behaviour a while ago (1-2 months). You might try searching that.

Cheers

--
Seth
Every program has two purposes one for which
it was written and another for which it wasn't
I use the last kind.


<Prev in Thread] Current Thread [Next in Thread>