Question on gnuCash file

Robert Kesterson robertk at robertk.com
Wed Apr 23 11:23:01 EDT 2008


Derek Atkins wrote:
> ...
> Umm...  Samba sucks?  

No argument there (though I blame SMB itself, not Samba -- SMB sucks
even just from one Windows machine to another, without Samba involved).

> The way gnucash saves the data is:
> 
>   create tempfile
>   write data to tempfile
>   delete datafile
>   link tempfile to datafile
>   delete tempfile
> 
> My guess is that the "link tempfile to datafile" is failing for some
> reason.

I hope this isn't a really dumb question, but wouldn't this be a better
sequence?

    create tempfile (on same device and dir as datafile)
    write data to tempfile
    rename datafile to olddatafile
    rename tempfile to datafile
    delete olddatafile

--
  Robert Kesterson
  robertk at robertk.com


More information about the gnucash-user mailing list