Changeset 1918 in MondoRescue
- Timestamp:
- Apr 17, 2008, 1:40:13 AM (16 years ago)
- Location:
- branches/2.2.6/mondo/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.6/mondo/src/common/libmondo-archive.c
r1900 r1918 3 3 4 4 subroutines to handle the archiving of files 5 6 7 8 07/149 - moved all ACL, xattr stuff here from libmondo-filelist.c10 11 07/1212 - when trying to find boot loader, look for /boot's /dev, not just /'s dev13 14 07/1015 - better detection of changed files16 - added ACL, xattr support for afio17 18 06/1719 - backup with partimagehack if NTFS device; dd, if non-NTFS device20 21 06/1422 - use mondorescue.iso instead of mindi.iso23 24 04/2825 - cleaned up if/then architecture-specific stuff re: CD-R(W)s26 27 04/0328 - added star support29 30 03/1231 - modified offer_to_write_floppies() to support dual-disk boot/root thing32 33 01/20/200434 - reformat dvd twice if necessary35 36 12/01/200337 - added pause_for_N_seconds(5, "Letting DVD drive settle");38 39 11/2340 - added #define DVDRWFORMAT41 42 11/2043 - use --no-emul-boot -b isolinux.bin instead of -b mindi-boot.2880.img44 45 10/2346 - wipe DVD at start, whether or not disk is DVD-RW; this is47 just a test, to see why dvd+rw-format followed by growiosfs48 locks up the drive49 - use the singlethreaded make_afioballs_and_images_OLD()50 instead of the multithreaded make_afioballs_and_images()51 if backing up to tape52 53 10/2154 - if backing up to dvd, look for relevant tools;55 abort if missing56 57 10/1558 - UI tweaks59 60 10/1061 - eject/inject DVD after wiping it62 63 09/2764 - pause_and_ask_for_cdr() will now blank DVD if necessary65 66 09/2667 - proper reporting of media type in displayed strings68 (i.e. DVD if DVD, CD if CD, etc.)69 70 09/2571 - add DVD support72 73 09/2374 - malloc/free global strings in new subroutines - malloc_libmondo_global_strings()75 and free_libmondo_global_strings() - which are in libmondo-tools.c76 77 09/1578 - changed a bunch of char[MAX_STR_LEN]'s to char*; malloc; free;79 80 09/1481 - cosmetic bug re: call to 'which dvdrecord'82 83 09/0984 - copy `locate isolinux.bin | tail -n1` to CD before calling mkisfso85 if file is missing (in which case, bug in Mindi.pl!)86 - reduced noof_threads from 3 to 287 - fixed cosmetic bug in make_slices_and_images()88 89 09/0290 - fixed cosmetic bug in verify_data()91 92 05/01 - 08/3193 - added partimagehack hooks94 - make twice as many archives at once as before95 - fixed syntax error re: system(xxx,FALSE)96 - unmount CD-ROM before burning (necessary for RH8/9)97 - only ask for new media if sensible98 - fixed mondoarchive -Vi multi-CD verify bug (Tom Mortell)99 - use single-threaded make_afioballs_and_images() if FreeBSD100 - fixed bug on line 476 (Joshua Oreman)101 - re-enabled the pause, for people w/ weird CD-ROM drives102 - added Joshua Oreman's FreeBSD patches103 - don't listen to please_dont_eject_when_restoring104 ...after all, we're not restoring :)105 106 04/01 - 04/30107 - cleaned up archive_this_fileset()108 - decreased ARCH_THREADS from 3 to 2109 - pause_and_ask_for_cd() --- calls retract_CD_tray_and_defeat_autorun()110 - call assert() and log_OS_error() in various places111 - cleaned up code a bit112 - increased ARCH_THREADS from 2 to 3113 - misc clean-up (Tom Mortell)114 115 03/15/2003116 - fixed problem w/ multi-ISO verify cycle (Tom Mortell)117 118 11/01 - 12/31/2002119 - removed references to make_afioballs_and_images_OLD()120 - added some error-checking to make_afioballs_in_background121 - make_iso_and_go_on() now copies Mondo's autorun file to CD122 - set scratchdir dir to 1744 when burning CD123 - cleaned up code a bit124 - in call_mindi_...(), gracefully handle the user's input125 if they specify the boot loader but not the boot device126 - offer to abort if GRUB is boot loader and /dev/md* is127 the boot device (bug in grub-install)128 - if boot loader is R then write RAW as bootloader.name129 - multithreaded make_afioballs_and_images()130 - fixed slice_up_file_etc() for 0-compression users131 - line 1198: added call to is_this_file_compressed() to stop132 slice_up_file_etc() from compressing files which are133 already compressed134 - other hackery related to the above enhancement135 - afio no longer forcibly compresses all files (i.e. I dropped136 the -U following suggestions from users); let's see if137 it works :)138 139 10/01 - 10/31140 - mondoarchive (with no parameters) wasn't working141 if user said yes when asked if BurnProof drive; FIXED142 - if manual CD tray and writing to ISO's then prompt143 for each & every new CD144 - moved a lot of subroutines here145 from mondo-archive.c and mondo-floppies.c146 147 09/01 - 09/30148 - if CD not burned OK then don't try to verify149 - change 64k to TAPE_BLOCK_SIZE150 - run_program_and_log_output() now takes boolean operator to specify151 whether it will log its activities in the event of _success_152 - orig_vfy_flag_val added to write_iso_and_go_on, to restore bkpinfo->verify_data's153 value if altered by verify_cd_image()154 155 08/01 - 08/31156 - use data structure to store the fname, checksum, mods & perms of each bigfile157 ... biggiestruct :)158 - bigger tmp[]'s in a few places159 - cleaned up the (user-friendly) counting of biggiefiles a bit160 - if media_size[N]<=0 then catch it & abort, unless it's tape,161 in which case, allow it162 - cleaned up a lot of log_it() calls163 - fixed NULL filename-related bug in can_we_fit_these_files_on_media()164 - deleted can_we_fit.....() subroutine because it was causing problems165 --- moved its code into the one subroutine which called it166 - created [08/01/2002]167 */168 5 169 6 /** -
branches/2.2.6/mondo/src/common/libmondo-cli.c
r1917 r1918 169 169 extern int g_loglevel; 170 170 extern bool g_text_mode; 171 bool g_skip_floppies; ///< Whether to skip the creation of boot disks172 171 extern char g_startdir[MAX_STR_LEN]; ///< ????? @bug ????? 173 172 extern bool g_sigpipe; … … 879 878 if (flag_set['B']) { 880 879 strncpy(bkpinfo->call_before_iso, flag_val['B'], MAX_STR_LEN); 881 }882 if (flag_set['F']) {883 g_skip_floppies = TRUE;884 880 } 885 881 if (flag_set['H']) { -
branches/2.2.6/mondo/src/mondoarchive/main.c
r1917 r1918 17 17 ***************************************************************************/ 18 18 19 /** change log ****** MONDO-DEVEL20 21 22 12/1023 - disable stopping/starting of autofs24 25 10/0126 - update g_erase_tmpdir_and_scratchdir to delete user-specified tmpdir, scratchdir27 28 06/1929 - added AUX_VER30 31 06/14/200432 - use mondorescue.iso, not mindi.iso33 34 02/10/200435 - tell users where BusyBox's sources are36 37 11/14/200338 - cleaned up logging at end#39 40 10/2341 - don't try to test-read tape ... That's already42 handled by post_param_configuration()43 44 10/1945 - if your PATH var is too long, abort46 47 09/2348 - added some comments49 - malloc/free global strings in new subroutines - malloc_libmondo_global_strings()50 and free_libmondo_global_strings() - which are in libmondo-tools.c51 - better magicdev support52 53 54 09/1655 - delete /var/log/partimagehack-debug.log at start of main()56 57 09/1558 - added askbootloader59 60 09/0961 - if your tape is weird, I'll pause between backup and verify62 - fixed silly bug in main() - re: say_at_end63 64 01/01 - 08/3165 - call 'dmesg -n1' at start, to shut the kernel logger up66 - moved g_erase_tmpdir_and_scratchdir to common/newt-specific.c67 - added 'don't panic' msg to start of logfile68 - added 'nice(20)' to main()69 - added lots of assert()'s and log_OS_error()'s70 - clean-up (Hugo)71 - make post_param_configuration() setup g_erase_tmpdir_and_scratchdir72 - if --version then print & exit quickly73 - re-run g_erase_tmpdir_and_scratchdir via system() at very end74 75 Year: 200276 - if user goes root with 'su' instead of 'su -' then77 workaround it by setting PATH correctly78 - wipe mondoarchive.log at very beginning79 - cleaned up code80 - if changed.files.N exists then copy to changes.files for display81 - run_program_and_log_output() now takes boolean operator to specify82 whether it will log its activities in the event of _success_83 - added popup list of changed files84 - removed 'beta-quality' warnings85 - if kernel not found and mondo in graphics mode then popup and ask86 for kernel path+filename87 - fixed tmp[] 'too small' bug88 - unmount and eject CD at end of verify cycle89 - moved interactively_obtain...() to libmondo-stream.c90 - wrote stuff to autodetect tape+cdrw+etc.91 - renamed from main.c to mondo-archive.c92 - fore+after warnings that this code is beta-quality93 - abort if running from ramdisk94 - remount floppy at end & unmount at start if Mandrake95 - took out #debug stuff96 - add 2> /dev/null to 'find' command97 - add support for bkpinfo->nonbootable_backup98 - add main function begin comment and debug conditional99 compilation - Stan Benoit100 - add debug statements to build a run tree. Stan Benoit101 **** end change log **********/102 103 104 19 /** 105 20 * @file … … 109 24 /************************* #include statements *************************/ 110 25 #include <pthread.h> 111 //#include <config.h>112 //#include "../../config.h"113 26 #include <stdio.h> 114 27 #include <stdlib.h> … … 137 50 138 51 /***************** global vars, used only by main.c ******************/ 139 extern bool g_skip_floppies;140 52 long diffs; 141 53
Note:
See TracChangeset
for help on using the changeset viewer.