Changeset 1918 in MondoRescue


Ignore:
Timestamp:
Apr 17, 2008, 1:40:13 AM (16 years ago)
Author:
Bruno Cornec
Message:

removal of g_skip_floppies now useless

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  
    33
    44subroutines to handle the archiving of files
    5 
    6 
    7 
    8 07/14
    9 - moved all ACL, xattr stuff here from libmondo-filelist.c
    10 
    11 07/12
    12 - when trying to find boot loader, look for /boot's /dev, not just /'s dev
    13 
    14 07/10
    15 - better detection of changed files
    16 - added ACL, xattr support for afio
    17 
    18 06/17
    19 - backup with partimagehack if NTFS device; dd, if non-NTFS device
    20 
    21 06/14
    22 - use mondorescue.iso instead of mindi.iso
    23 
    24 04/28
    25 - cleaned up if/then architecture-specific stuff re: CD-R(W)s
    26 
    27 04/03
    28 - added star support
    29 
    30 03/12
    31 - modified offer_to_write_floppies() to support dual-disk boot/root thing
    32 
    33 01/20/2004
    34 - reformat dvd twice if necessary
    35 
    36 12/01/2003
    37 - added pause_for_N_seconds(5, "Letting DVD drive settle");
    38 
    39 11/23
    40 - added #define DVDRWFORMAT
    41 
    42 11/20
    43 - use --no-emul-boot -b isolinux.bin instead of -b mindi-boot.2880.img
    44 
    45 10/23
    46 - wipe DVD at start, whether or not disk is DVD-RW; this is
    47   just a test, to see why dvd+rw-format followed by growiosfs
    48   locks up the drive
    49 - use the singlethreaded make_afioballs_and_images_OLD()
    50   instead of the multithreaded make_afioballs_and_images()
    51   if backing up to tape
    52 
    53 10/21
    54 - if backing up to dvd, look for relevant tools;
    55   abort if missing
    56 
    57 10/15
    58 - UI tweaks
    59 
    60 10/10
    61 - eject/inject DVD after wiping it
    62 
    63 09/27
    64 - pause_and_ask_for_cdr() will now blank DVD if necessary
    65 
    66 09/26
    67 - proper reporting of media type in displayed strings
    68   (i.e. DVD if DVD, CD if CD, etc.)
    69  
    70 09/25
    71 - add DVD support
    72 
    73 09/23
    74 - malloc/free global strings in new subroutines - malloc_libmondo_global_strings()
    75   and free_libmondo_global_strings() - which are in libmondo-tools.c
    76 
    77 09/15
    78 - changed a bunch of char[MAX_STR_LEN]'s to char*; malloc; free;
    79 
    80 09/14
    81 - cosmetic bug re: call to 'which dvdrecord'
    82 
    83 09/09
    84 - copy `locate isolinux.bin | tail -n1` to CD before calling mkisfso
    85   if file is missing (in which case, bug in Mindi.pl!)
    86 - reduced noof_threads from 3 to 2
    87 - fixed cosmetic bug in make_slices_and_images()
    88 
    89 09/02
    90 - fixed cosmetic bug in verify_data()
    91 
    92 05/01 - 08/31
    93 - added partimagehack hooks
    94 - make twice as many archives at once as before
    95 - fixed syntax error re: system(xxx,FALSE)
    96 - unmount CD-ROM before burning (necessary for RH8/9)
    97 - only ask for new media if sensible
    98 - fixed mondoarchive -Vi multi-CD verify bug (Tom Mortell)
    99 - use single-threaded make_afioballs_and_images() if FreeBSD
    100 - fixed bug on line 476 (Joshua Oreman)
    101 - re-enabled the pause, for people w/ weird CD-ROM drives
    102 - added Joshua Oreman's FreeBSD patches
    103 - don't listen to please_dont_eject_when_restoring
    104   ...after all, we're not restoring :)
    105 
    106 04/01 - 04/30
    107 - cleaned up archive_this_fileset()
    108 - decreased ARCH_THREADS from 3 to 2
    109 - pause_and_ask_for_cd() --- calls retract_CD_tray_and_defeat_autorun()
    110 - call assert() and log_OS_error() in various places
    111 - cleaned up code a bit
    112 - increased ARCH_THREADS from 2 to 3
    113 - misc clean-up (Tom Mortell)
    114 
    115 03/15/2003
    116 - fixed problem w/ multi-ISO verify cycle (Tom Mortell)
    117 
    118 11/01 - 12/31/2002
    119 - removed references to make_afioballs_and_images_OLD()
    120 - added some error-checking to make_afioballs_in_background
    121 - make_iso_and_go_on() now copies Mondo's autorun file to CD
    122 - set scratchdir dir to 1744 when burning CD
    123 - cleaned up code a bit
    124 - in call_mindi_...(), gracefully handle the user's input
    125   if they specify the boot loader but not the boot device
    126 - offer to abort if GRUB is boot loader and /dev/md* is
    127   the boot device (bug in grub-install)
    128 - if boot loader is R then write RAW as bootloader.name
    129 - multithreaded make_afioballs_and_images()
    130 - fixed slice_up_file_etc() for 0-compression users
    131 - line 1198: added call to is_this_file_compressed() to stop
    132   slice_up_file_etc() from compressing files which are
    133   already compressed
    134 - other hackery related to the above enhancement
    135 - afio no longer forcibly compresses all files (i.e. I dropped
    136   the -U following suggestions from users); let's see if
    137   it works :)
    138 
    139 10/01 - 10/31
    140 - mondoarchive (with no parameters) wasn't working
    141   if user said yes when asked if BurnProof drive; FIXED
    142 - if manual CD tray and writing to ISO's then prompt
    143   for each & every new CD
    144 - moved a lot of subroutines here
    145   from mondo-archive.c and mondo-floppies.c
    146 
    147 09/01 - 09/30
    148 - if CD not burned OK then don't try to verify
    149 - change 64k to TAPE_BLOCK_SIZE
    150 - run_program_and_log_output() now takes boolean operator to specify
    151   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's
    153   value if altered by verify_cd_image()
    154 
    155 08/01 - 08/31
    156 - use data structure to store the fname, checksum, mods & perms of each bigfile
    157   ... biggiestruct :)
    158 - bigger tmp[]'s in a few places
    159 - cleaned up the (user-friendly) counting of biggiefiles a bit
    160 - if media_size[N]<=0 then catch it & abort, unless it's tape,
    161   in which case, allow it
    162 - cleaned up a lot of log_it() calls
    163 - fixed NULL filename-related bug in can_we_fit_these_files_on_media()
    164 - deleted can_we_fit.....() subroutine because it was causing problems
    165   --- moved its code into the one subroutine which called it
    166 - created [08/01/2002]
    167 */
    1685
    1696/**
  • branches/2.2.6/mondo/src/common/libmondo-cli.c

    r1917 r1918  
    169169extern int g_loglevel;
    170170extern bool g_text_mode;
    171 bool g_skip_floppies;   ///< Whether to skip the creation of boot disks
    172171extern char g_startdir[MAX_STR_LEN];    ///< ????? @bug ?????
    173172extern bool g_sigpipe;
     
    879878    if (flag_set['B']) {
    880879        strncpy(bkpinfo->call_before_iso, flag_val['B'], MAX_STR_LEN);
    881     }
    882     if (flag_set['F']) {
    883         g_skip_floppies = TRUE;
    884880    }
    885881    if (flag_set['H']) {
  • branches/2.2.6/mondo/src/mondoarchive/main.c

    r1917 r1918  
    1717 ***************************************************************************/
    1818
    19 /** change log ****** MONDO-DEVEL
    20 
    21 
    22 12/10
    23 - disable stopping/starting of autofs
    24 
    25 10/01
    26 - update g_erase_tmpdir_and_scratchdir to delete user-specified tmpdir, scratchdir
    27 
    28 06/19
    29 - added AUX_VER
    30 
    31 06/14/2004
    32 - use mondorescue.iso, not mindi.iso
    33 
    34 02/10/2004
    35 - tell users where BusyBox's sources are
    36 
    37 11/14/2003
    38 - cleaned up logging at end#
    39 
    40 10/23
    41 - don't try to test-read tape ... That's already
    42   handled by post_param_configuration()
    43  
    44 10/19
    45 - if your PATH var is too long, abort
    46 
    47 09/23
    48 - added some comments
    49 - malloc/free global strings in new subroutines - malloc_libmondo_global_strings()
    50   and free_libmondo_global_strings() - which are in libmondo-tools.c
    51 - better magicdev support
    52 
    53 
    54 09/16
    55 - delete /var/log/partimagehack-debug.log at start of main()
    56 
    57 09/15
    58 - added askbootloader
    59 
    60 09/09
    61 - if your tape is weird, I'll pause between backup and verify
    62 - fixed silly bug in main() - re: say_at_end
    63 
    64 01/01 - 08/31
    65 - call 'dmesg -n1' at start, to shut the kernel logger up
    66 - moved g_erase_tmpdir_and_scratchdir to common/newt-specific.c
    67 - added 'don't panic' msg to start of logfile
    68 - added 'nice(20)' to main()
    69 - added lots of assert()'s and log_OS_error()'s
    70 - clean-up (Hugo)
    71 - make post_param_configuration() setup g_erase_tmpdir_and_scratchdir
    72 - if --version then print & exit quickly
    73 - re-run g_erase_tmpdir_and_scratchdir via system() at very end
    74 
    75 Year: 2002
    76 - if user goes root with 'su' instead of 'su -' then
    77   workaround it by setting PATH correctly
    78 - wipe mondoarchive.log at very beginning
    79 - cleaned up code
    80 - if changed.files.N exists then copy to changes.files for display
    81 - run_program_and_log_output() now takes boolean operator to specify
    82   whether it will log its activities in the event of _success_
    83 - added popup list of changed files
    84 - removed 'beta-quality' warnings
    85 - if kernel not found and mondo in graphics mode then popup and ask
    86   for kernel path+filename
    87 - fixed tmp[] 'too small' bug
    88 - unmount and eject CD at end of verify cycle
    89 - moved interactively_obtain...() to libmondo-stream.c
    90 - wrote stuff to autodetect tape+cdrw+etc.
    91 - renamed from main.c to mondo-archive.c
    92 - fore+after warnings that this code is beta-quality
    93 - abort if running from ramdisk
    94 - remount floppy at end & unmount at start if Mandrake
    95 - took out #debug stuff
    96 - add 2> /dev/null to 'find' command
    97 - add support for bkpinfo->nonbootable_backup
    98 - add main function begin comment and debug conditional
    99   compilation - Stan Benoit
    100 - add debug statements to build a run tree. Stan Benoit
    101 **** end change log **********/
    102 
    103 
    10419/**
    10520 * @file
     
    10924/************************* #include statements *************************/
    11025#include <pthread.h>
    111 //#include <config.h>
    112 //#include "../../config.h"
    11326#include <stdio.h>
    11427#include <stdlib.h>
     
    13750
    13851/***************** global vars, used only by main.c ******************/
    139 extern bool g_skip_floppies;
    14052long diffs;
    14153
Note: See TracChangeset for help on using the changeset viewer.