Opened 18 years ago

Closed 18 years ago

#16 closed defect (fixed)

Does not backup a file greater than 2 GB

Reported by: setin@… Owned by: Bruno Cornec
Priority: high Milestone: 2.0.9
Component: mondo Version: 2.0.8
Severity: major Keywords:



When I try to backup a file grater than 2 GB, the following message appears in /var/log/mondo-archive.log :

[Main] libmondo-files.c->size_of_all_biggiefiles_K#932:
After adding /sip/dat/CACHE.DAT, scratchL+0 now equals 0

The file CACHE.DAT has exactly 2 GB.
I using these rpm packages in Linux RH9 - 2.4.20-8smp


Change History (4)

comment:1 by, 18 years ago

Status: newassigned

I believe the problem lies in
libmondo-files.c line 598

long long length_of_file(char *filename)
length = ftell(fin);

ftell returns the length of file as a long which might cause problems with files larger than 2GByte.
Regs, Taps

comment:2 by Bruno Cornec, 18 years ago

Should be fixed in milestone:2.0.9 (SVN [684])
Thanks for the tip, taps.

comment:3 by Bruno Cornec, 18 years ago

Could you please check that this bug is solved by the latest version of Mondo Rescue (2.0.9) available at ?

comment:4 by Bruno Cornec, 18 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.