xfs
[Top] [All Lists]

Re: Binary null problem.

To: linux-xfs@xxxxxxxxxxx
Subject: Re: Binary null problem.
From: Ethan Benson <erbenson@xxxxxxxxxx>
Date: Wed, 1 Oct 2003 01:01:13 -0800
In-reply-to: <200310011854.10422.lordvader@austarmetro.com.au>
Mail-copies-to: nobody
Mail-followup-to: linux-xfs@xxxxxxxxxxx
References: <200310011854.10422.lordvader@austarmetro.com.au>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.28i
On Wed, Oct 01, 2003 at 06:54:10PM +0000, MichaelM wrote:
> I do a bit of OpenGL development on my system for my uni assignments. Of 
> course, it does mean that my system will crash every now and then.
> The thing is, on two seperate occasions I've lost all my work when my code
> was replace with binary NULLs.
> Is there a workaround to this such that it doesn't happen again? The FAQ 
> mentions that the kernel writes out to disk every 30 seconds. Perhaps 
> reducing this time may help?
> 
> I'm using kernel 2.4.22-xfs (pulled from the CVS tree).
> 
> Any help would be much appreciated.

chattr -R +S important_srcdir

this is equivilent to mount -o sync, but confined to a specific
directory so you don't lose speed performance across the entire
filesystem.

you need current CVS for this to work.

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpZpvBQJ0Vhm.pgp
Description: PGP signature

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