Ignore:
Timestamp:
Jan 20, 2007, 11:37:55 PM (13 years ago)
Author:
bruno
Message:
  • USB device support for mindi (Tested and Working)
  • Begining of USB device support for mondo (maybe not even compiling)
  • FindDistroFailsafe? build process support
  • makemount list doesn't issue weird messages anymore around LVM
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/common/libmondo-devices.c

    r958 r1063  
    18641864    case cdrw:
    18651865    case dvd:
     1866    case usb:
    18661867        if (archiving_to_media) {
    1867             if (bkpinfo->backup_media_type != dvd) {
     1868            if ((bkpinfo->backup_media_type != dvd) && (bkpinfo->backup_media_type != usb)) {
    18681869                if (ask_me_yes_or_no
    18691870                    ("Is your computer a laptop, or does the CD writer incorporate BurnProof technology?"))
     
    18841885                sprintf(sz_size, "%d", DEFAULT_DVD_DISK_SIZE);  // 4.7 salesman's GB = 4.482 real GB = 4582 MB
    18851886                log_msg(1, "Setting to DVD defaults");
     1887            } else if (bkpinfo->backup_media_type == usb) {
     1888                strcpy(bkpinfo->media_device, VANILLA_USB_DEVICE);
     1889                strcpy(sz_size, "512");
    18861890            } else {
    18871891                strcpy(bkpinfo->media_device, VANILLA_SCSI_CDROM);
     
    18901894                log_msg(1, "Setting to CD defaults");
    18911895            }
    1892             if (bkpinfo->backup_media_type != dvd) {
     1896            if ((bkpinfo->backup_media_type != dvd) && (bkpinfo->backup_media_type != usb)) {
    18931897                if (!popup_and_get_string("Speed", comment, tmp, 4)) {
    18941898                    log_to_screen("User has chosen not to backup the PC");
Note: See TracChangeset for help on using the changeset viewer.