Changeset 3753 in MondoRescue for branches/3.3/mondo


Ignore:
Timestamp:
Nov 30, 2019, 1:45:07 AM (4 years ago)
Author:
Bruno Cornec
Message:

Remove floppy support

Location:
branches/3.3/mondo/src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mondo/src/common/libmondo-filelist.c

    r3728 r3753  
    15671567        mr_free(tmp1);
    15681568
    1569         mr_asprintf(exclude_paths, MONDO_CACHE"|%s|%s|%s|.|..|"MNT_CDROM"|"MNT_FLOPPY"|/media|/tmp|/selinux|/proc|/sys|/run|/dev/shm|"MINDI_CACHE, tmp2, (tmpdir[0] == '/' && tmpdir[1] == '/') ? (tmpdir + 1) : tmpdir, (scratchdir[0] == '/' && scratchdir[1] == '/') ? (scratchdir + 1) : scratchdir);
     1569        mr_asprintf(exclude_paths, MONDO_CACHE"|%s|%s|%s|.|..|"MNT_CDROM"|/media|/tmp|/selinux|/proc|/sys|/run|/dev/shm|"MINDI_CACHE, tmp2, (tmpdir[0] == '/' && tmpdir[1] == '/') ? (tmpdir + 1) : tmpdir, (scratchdir[0] == '/' && scratchdir[1] == '/') ? (scratchdir + 1) : scratchdir);
    15701570        if (excp != NULL) {
    15711571            mr_strcat(exclude_paths,"|%s",excp);
  • branches/3.3/mondo/src/common/libmondo-tools.c

    r3665 r3753  
    4444 */
    4545bool g_remount_cdrom_at_end,    ///< TRUE if we unmounted the CD-ROM and should remount it when done with the backup.
    46  g_remount_floppy_at_end;       ///< TRUE if we unmounted the floppy and should remount it when done with the backup.
    4746bool g_cd_recovery = FALSE;             ///< TRUE if we're making an "autonuke" backup.
    4847double g_kernel_version;
     
    11001099        run_program_and_log_output("mount " MNT_CDROM, FALSE);
    11011100    }
    1102     if (g_remount_floppy_at_end) {
    1103         run_program_and_log_output("mount " MNT_FLOPPY, FALSE);
    1104     }
    11051101}
    11061102
     
    11141110        g_remount_cdrom_at_end = TRUE;
    11151111        run_program_and_log_output("umount " MNT_CDROM, FALSE);
    1116     }
    1117     if (run_program_and_log_output
    1118         ("mount | grep floppy | grep super", FALSE) == 0) {
    1119         g_remount_floppy_at_end = TRUE;
    1120         run_program_and_log_output("umount " MNT_FLOPPY, FALSE);
    11211112    }
    11221113}
  • branches/3.3/mondo/src/include/my-stuff.h

    r3549 r3753  
    369369
    370370#define MNT_CDROM "/mnt/cdrom"
    371 #define MNT_FLOPPY "/mnt/floppy"
    372371
    373372#define DEFAULT_MR_LOGLEVEL 4
  • branches/3.3/mondo/src/mondo.dox

    r30 r3753  
    177177 * @defgroup verifyGroup Verification Functions
    178178 * Functions for verifying data while booted from the hard drive (as opposed
    179  * to a "compare", which is done while booted from CD/floppy).
     179 * to a "compare", which is done while booted from CD/Tape).
    180180 */
    181181/**
     
    186186/**
    187187 * @defgroup compareGroup Compare Functions
    188  * Functions for comparing data while booted from CD/floppy (as opposed
     188 * Functions for comparing data while booted from CD/Tape (as opposed
    189189 * to a "verify", which is done while booted from the hard drive).
    190190 */
  • branches/3.3/mondo/src/mondoarchive/mondoarchive.c

    r3629 r3753  
    2727extern bool g_text_mode;
    2828extern char *g_boot_mountpt;
    29 extern bool g_remount_floppy_at_end;
    3029extern char *g_cdrw_drive_is_here;
    3130static char *g_cdrom_drive_is_here = NULL;
  • branches/3.3/mondo/src/mondorestore/mondo-rstr-tools.c

    r3746 r3753  
    20922092
    20932093/**
    2094  * Get the configuration file from the floppy, tape, or CD.
     2094 * Get the configuration file from the tape, or CD.
    20952095 * @param bkpinfo The backup information structure. Fields used:
    20962096 * - @c bkpinfo->backup_media_type
Note: See TracChangeset for help on using the changeset viewer.