Re: Re: protect .idata from corruption
Ole Jacob Taraldset <[email protected]> Thu, 27 Mar 2003 09:31:15 +0100
| Newsgroups | gmane.mail.ifile.general |
|---|---|
| Organization | GexCon AS |
| Message-ID | <[email protected]> |
Bug reported. -Ole Jacob On Wednesday 26 March 2003 15:18, Dave Marquardt wrote: > On Wed, 26 Mar 2003 10:52:15 +0100, Ole Jacob Taraldset <[email protected]> > said: > > Ole> I just experienced that all the data in my .idata was > Ole> deleted. The hd was 100% filled last night and that is probably > Ole> the reason why it happened. Is there anything that can be done to > Ole> prevent this from happening again (except for maing sure that the > Ole> hd is filled up)? > > I experienced this a while back too. I consider this to be a bug in > the code. There must be some code not properly checking for errors on > write(), close() or rename(). If I remember the code correctly, the > updated database is written to a temporary file then renamed to the > database file name. Something is failing in here, and it should be > caught. > > So I propose you open a bug (if you don't, I will, eventually), and we > fix it. -- GexCon AS, Bergen, Norway, <www.gexcon.com> Tel : +47 55574334 (office) +47 55912224 (home) Mob.tel. : +47 95080525 Fax : +47 55574331 PGP key : <http://home.broadpark.no/~ojtarald/pgp.txt> ICQ UIN : 5366306 | Jabber: [email protected]