Changeset 1663 in MondoRescue for branches/stable/mondo/src/common/libmondo-files.c
- Timestamp:
- Sep 27, 2007, 12:21:18 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/common/libmondo-files.c
r1594 r1663 30 30 31 31 extern int g_currentY; 32 33 /* Reference to global bkpinfo */ 34 extern struct s_bkpinfo *bkpinfo; 32 35 33 36 /** … … 680 683 * @return The total size of all biggiefiles in KB. 681 684 */ 682 long size_of_all_biggiefiles_K( struct s_bkpinfo *bkpinfo)685 long size_of_all_biggiefiles_K() 683 686 { 684 687 char *fname = NULL; … … 940 943 * - @c bkpinfo->tmpdir 941 944 */ 942 void copy_mondo_and_mindi_stuff_to_scratchdir( struct s_bkpinfo *bkpinfo)945 void copy_mondo_and_mindi_stuff_to_scratchdir() 943 946 { 944 947 /*@ Char buffers ** */ … … 1026 1029 * - @c tmpdir 1027 1030 */ 1028 void store_nfs_config( struct s_bkpinfo *bkpinfo)1031 void store_nfs_config() 1029 1032 { 1030 1033 … … 1156 1159 */ 1157 1160 void 1158 estimate_noof_media_required( struct s_bkpinfo *bkpinfo,long noof_sets)1161 estimate_noof_media_required(long noof_sets) 1159 1162 { 1160 1163 /*@ buffers *************** */ … … 1172 1175 scratchLL = 1173 1176 (long long) (noof_sets) * (long long) (bkpinfo->optimal_set_size) 1174 + (long long) (size_of_all_biggiefiles_K( bkpinfo));1177 + (long long) (size_of_all_biggiefiles_K()); 1175 1178 scratchLL = (scratchLL / 1024) / bkpinfo->media_size; 1176 1179 scratchLL++;
Note:
See TracChangeset
for help on using the changeset viewer.