Am Montag 29 Dezember 2008 schrieb Martin Steigerwald:
[... about truncated KDE configuration files ...]
> I cannot remember having seen this kind of behavior anywhere between
> 18.104.22.168 and 2.6.26! And I had sudden interruptions of write activity
> from time to time.
> I can't prove anything right now. I possibly could if I dare to test
> this again with 2.6.26! But from my experiences this never was so
> massive. Prior to the null file fixes a file or two might have been
> corrupted and that not all the times. Thats to be expected if thats the
> file that where written out at the time. But now it seems that almost
> every file that is opened for writing or not even just for writing is
> truncated seriously at sudden interruption of write activity. Whereas
> before it appeared that usually either the change was not made or it
> was made - at least for small files. Now the file is truncated, no
> holes, just lots less bytes than before.
Ok, I had to test this. So I made a backup of my current KDE configuration
to an external drive and tested with 22.214.171.124 and 126.96.36.199! It happens
there too. So its nothing new what I have observed here. Even the case of
massively truncated files when trying directly after KDE login. Why all
those applications appear to write out their configurations files when
just having been started is a bit beyond me, but well that seems to be
So it seems with pre 2.6.27 and 2.6.28 sudden power interruptions I had
*lots of luck*. Or there is a very subtile difference in the likelyhood
of truncated files happening. I had the impression during my todays test
that at least with 188.8.131.52 and 184.108.40.206 truncated files were a little
less likely, but I have no means of statistics.
And I do not yet have a comparison with ext3/ext4 either.
So I jumped out of the window with my conclusions too early, or I need to
test even earlier kernels. I hold back an earlier mail about this
already, but this time I thought I'd write an email. Sorry for the noise.
It might be wise however to file enhancement requests for the KDE
applications where I observed this behavior if safer writing within the
applications is possible. Any hints on what application developers should
keep in mind when writing out config files?
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7