Re: [fpc-pascal] XML files and the ext4 bug

2009-03-12 Thread David Emerson
I can't comment on pascal's XML handling, but perhaps I can shed some light on the situation. I belive this new filesystem thing will bite you if you do something like this: assign (my_file, '/some/file'); rewrite (my_file); // ... write out the contents of the file ... close (my_file); reset

Re: [fpc-pascal] XML files and the ext4 bug

2009-03-12 Thread Florian Klaempfl
Gustavo Enrique Jimenez schrieb: Hi Seems like the ext4 file system has a bug or some issue with files updated often : https://bugs.edge.launchpad.net/ubuntu/+source/linux/+bug/317781 This is only a problem when your machine crashes! I use XML files heavily. It is great, XML units

Re: [fpc-pascal] XML files and the ext4 bug

2009-03-12 Thread Florian Klaempfl
Michael Van Canneyt schrieb: And if methods 1 2 are unsafe, then I think that there is a fundamental bug in the filesystem (I never believed journaling filesystems can work 100% correctly in the first place), Journaling means only: the file system is always in an internally consistent

Re: [fpc-pascal] XML files and the ext4 bug

2009-03-12 Thread Jonas Maebe
Michael Van Canneyt wrote on do, 12 mrt 2009: On Thu, 12 Mar 2009, Florian Klaempfl wrote: Journaling means only: the file system is always in an internally consistent state It does not mean that it doesn't lose data! In this definition, yes. Well, that is the only definition of file

Re: [fpc-pascal] XML files and the ext4 bug

2009-03-12 Thread Michael Van Canneyt
On Thu, 12 Mar 2009, Florian Klaempfl wrote: Michael Van Canneyt schrieb: And if methods 1 2 are unsafe, then I think that there is a fundamental bug in the filesystem (I never believed journaling filesystems can work 100% correctly in the first place), Journaling means only:

Re: [fpc-pascal] XML files and the ext4 bug

2009-03-12 Thread Gustavo Enrique Jimenez
Ok, thanks for all your replys ! I will take more care with my xml files. Gustavo 2009/3/12 Jonas Maebe jonas.ma...@elis.ugent.be: Michael Van Canneyt wrote on do, 12 mrt 2009: On Thu, 12 Mar 2009, Florian Klaempfl wrote: Journaling means only: the file system is always in an internally

[fpc-pascal] XML files and the ext4 bug

2009-03-11 Thread Gustavo Enrique Jimenez
Hi Seems like the ext4 file system has a bug or some issue with files updated often : https://bugs.edge.launchpad.net/ubuntu/+source/linux/+bug/317781 I use XML files heavily. It is great, XML units save me a lot of work ! My programs update de xml files quite often. I am concerned about this