Changeset 1745


Ignore:
Timestamp:
Oct 30, 2007, 12:18:10 PM (12 years ago)
Author:
bruno
Message:
  • Fix a command build format error
  • USB should never be ejected
Location:
branches/2.2.5/mondo/src
Files:
3 edited

Legend:

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

    r1743 r1745  
    16451645
    16461646#else
    1647     sprintf(command, "mount %s -t vfat 2>> %s",
     1647    sprintf(command, "mount %s -t vfat %s 2>> %s",
    16481648            device, mountpoint, MONDO_LOGFILE);
    16491649#endif
     
    19091909    case dvd:
    19101910    case usb:
     1911        /* Never try to eject a USB device */
     1912        if (bkpinfo->backup_media_type == usb) {
     1913            bkpinfo->please_dont_eject = FALSE;
     1914        }
    19111915        if (archiving_to_media) {
    19121916            if ((bkpinfo->backup_media_type != dvd) && (bkpinfo->backup_media_type != usb)) {
  • branches/2.2.5/mondo/src/common/libmondo-fork.c

    r1688 r1745  
    288288    paranoid_free(old_stderr);
    289289    paranoid_free(cd_number_str);
    290 /*
    291   if (bkpinfo->backup_media_type == dvd && !bkpinfo->please_dont_eject_when_restoring)
    292     {
    293       log_msg(3, "Ejecting DVD device");
    294       eject_device(bkpinfo->media_device);
    295     }
    296 */
    297290    return (retval);
    298291}
  • branches/2.2.5/mondo/src/mondoarchive/mondo-cli.c

    r1737 r1745  
    677677    if (flag_set['U']) {
    678678        bkpinfo->backup_media_type = usb;
     679        /* Never try to eject a USB device */
     680        bkpinfo->please_dont_eject = FALSE;
    679681    }
    680682    if (flag_set['z']) {
Note: See TracChangeset for help on using the changeset viewer.