Ignore:
Timestamp:
Oct 21, 2007, 3:06:22 AM (12 years ago)
Author:
Bruno Cornec
Message:
  • Remove useless copy from mindi to mondo at end of USB handling
  • Fix PB macro vs tools/*2build issue
  • make_usb_fs change of interface (doesn't need a parameter)
  • Fix USB support in mondo to avoid multiple copies of files
  • Use first partiion in mondo for USB device
  • Fixes for USB CLI for both mondo/mindi
  • Try to add USB support for mondoarchive with new functions
  • du => deb for similarity with other distro type under pbconf
  • migrate gento build files under pb
  • remove now obsolete rpm spec file and gentoo build files from distributions
  • Remove DOCDIR usage in mindi + various build fixes

(merge -r1680:1692 $SVN_M/branches/2.2.5)

File:
1 edited

Legend:

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

    r1663 r1693  
    929929       }
    930930
    931        switch (type_of_bkp) {
    932        case dvd:
    933                strcpy(type_of_backup, "DVD");
    934                break;
    935        case cdr:
    936                strcpy(type_of_backup, "CDR");
    937                break;
    938        case cdrw:
    939                strcpy(type_of_backup, "CDRW");
    940                break;
    941        case tape:
    942                strcpy(type_of_backup, "tape");
    943                break;
    944        case cdstream:
    945                strcpy(type_of_backup, "CDR");
    946                break;
    947        case udev:
    948                strcpy(type_of_backup, "udev");
    949                break;
    950        case iso:
    951                strcpy(type_of_backup, "ISO");
    952                break;
    953        case nfs:
    954                strcpy(type_of_backup, "nfs");
    955                break;
    956        case usb:
    957                strcpy(type_of_backup, "USB");
    958                break;
    959        default:
    960                strcpy(type_of_backup, "ISO");
    961        }
    962        return (type_of_backup);
    963 }
    964 
     931        switch (type_of_bkp) {
     932        case dvd:
     933            strcpy(type_of_backup, "DVD");
     934            break;
     935        case cdr:
     936            strcpy(type_of_backup, "CDR");
     937            break;
     938        case cdrw:
     939            strcpy(type_of_backup, "CDRW");
     940            break;
     941        case tape:
     942            strcpy(type_of_backup, "tape");
     943            break;
     944        case cdstream:
     945            strcpy(type_of_backup, "CDR");
     946            break;
     947        case udev:
     948            strcpy(type_of_backup, "udev");
     949            break;
     950        case iso:
     951            strcpy(type_of_backup, "ISO");
     952            break;
     953        case nfs:
     954            strcpy(type_of_backup, "nfs");
     955            break;
     956        case usb:
     957            strcpy(type_of_backup, "USB");
     958            break;
     959        default:
     960            strcpy(type_of_backup, "ISO");
     961    }
     962    return (type_of_backup);
     963}
Note: See TracChangeset for help on using the changeset viewer.