Subject: file truncated to zero length after reboot
To: None <tech-kern@netbsd.org>
From: David Young <dyoung@pobox.com>
List: tech-kern
Date: 12/21/2004 18:33:29
On Wed, Dec 22, 2004 at 12:20:38AM +0000, Charles M. Hannum wrote:
> On Wednesday 22 December 2004 00:08, David Young wrote:
> > My project uses Soekris (i386) boards with CF cards.  I don't know if this
> > is related, but if I mount a normally read-only FFS filesystem read-write,
> > create a non-empty file on the filesystem, remount read-only, and reboot,
> > the file is truncated to zero length after reboot.  Sometimes, if I
> > write a second file before remounting read-only, then the first file
> > is not truncated, but the second is.  I cannot reproduce this bug with
> > perfect reliability.
> 
> No, this is totally unrelated.

Do know what causes it?

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933