Changeset 2188 in MondoRescue
- Timestamp:
- Apr 30, 2009, 6:01:51 PM (16 years ago)
- Location:
- branches/2.2.9/mondo/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/src/common/mondostructures.h
r1967 r2188 79 79 * The list of entries, all @p entries of them. 80 80 */ 81 struct mountlist_line el[MAX_ TAPECATALOG_ENTRIES];81 struct mountlist_line el[MAX_MOUNTLIST_ENTRIES]; 82 82 }; 83 83 -
branches/2.2.9/mondo/src/include/my-stuff.h
r2104 r2188 117 117 #define NOOF_ERR_LINES 6 ///< The number of lines of log output to keep at the bottom of the screen. 118 118 #define ARBITRARY_MAXIMUM 2000 ///< The maximum number of items showing at once in the mountlist or filelist editor. 119 #define MAX_TAPECATALOG_ENTRIES 8192 ///< The maximum number of entries in the tape catalog. 119 #define MAX_TAPECATALOG_ENTRIES 16384 ///< The maximum number of entries in the tape catalog. 120 #define MAX_MOUNTLIST_ENTRIES 8192 ///< The maximum number of entries in the mountlist. 120 121 #define MAX_STR_LEN 384 ///< The maximum length of almost all @p char buffers in Mondo. 121 122 /// Note: Make this divisible by eight to avoid aligment issues -
branches/2.2.9/mondo/src/mondorestore/mondo-prep.c
r2179 r2188 2500 2500 drivemntlist = malloc(sizeof(struct mountlist_reference)); 2501 2501 drivemntlist->el = 2502 malloc(sizeof(struct mountlist_line *) * MAX_ TAPECATALOG_ENTRIES);2502 malloc(sizeof(struct mountlist_line *) * MAX_MOUNTLIST_ENTRIES); 2503 2503 2504 2504 if (!drivemntlist) { -
branches/2.2.9/mondo/src/mondorestore/mondo-rstr-tools.c
r2144 r2188 770 770 771 771 if (!cfgf) { 772 strcpy(cfg_file, g_mondo_cfg_file);772 strcpy(cfg_file, g_mondo_cfg_file); 773 773 } else { 774 strcpy(cfg_file, cfgf);774 strcpy(cfg_file, cfgf); 775 775 } 776 776 … … 790 790 bkpinfo->please_dont_eject = TRUE; 791 791 } else if (!strcmp(value, "iso")) { 792 /*793 if (am_I_in_disaster_recovery_mode()794 && !run_program_and_log_output("mount /dev/cdrom "MNT_CDROM, 1)795 && does_file_exist(MNT_CDROM"/archives/filelist.0"))796 */797 792 798 793 // Patch by Conor Daly - 2004/07/12
Note:
See TracChangeset
for help on using the changeset viewer.