On Wed, Oct 19, 2005 at 09:17:31AM -0500, John Goerzen wrote: > On Wed, Oct 19, 2005 at 03:02:33PM +0100, Paul Brossier wrote: > > > So I'm curious about what actually is in that file, and the file for > > > apparently another folder. I can't think of much aside from a full disk > > > that could cause this. > > > > > > > > > > arg. using xfs? all the LocalStatus files but the first 80 ones were > > full of 0. deleting them fixed the problem. > > > > i can't find a bug on linux-2.6 about empty files with xfs, but it is a > > known issue, so i guess this bug can be closed. > > Ahh. Sounds like your machine crashed at one point.
yes, ural-linux on powerpc64 is not very happy :-) > This is, unfortunately, a characteristic of just just XFS, but also > JFS and reiserfs (though not ext3 or, I think, reiser4). > > I actually wrote about this a bit at > http://changelog.complete.org/node/293, and Novell has a great writeup > at > http://www.novell.com/documentation/suse91/suselinux-adminguide/html/apas02.html interesting. i don't think i ever got this with vi. would creating temporary files (as in .file.swp) be a solution? i found that something like the following hack fixed offlineimap after a crash. it erases all files that are not ASCII Text (issues on non ASCII folder names?) and the index files get recreated at the first run. i *think* no duplicate mails were created. cp -a .offlineimap .offlineimap.backup && find .offlineimap -type f -exec \ file {} \; | grep -v "\(ASCII text\|empty\)$" | sed 's/: \(data\|\)$//' | \ while read i; do /bin/rm -f $i; done cheers, piem -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]