Changeset 687 in MondoRescue for trunk/mondo/mondo/common/libmondo-devices.c


Ignore:
Timestamp:
Jul 17, 2006, 3:39:42 PM (18 years ago)
Author:
bcornec
Message:

merge -r671:686 $SVN_M/branches/stable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/mondo/common/libmondo-devices.c

    r507 r687  
    304304    return
    305305        !system
    306         ("parted2fdisk -l 2>/dev/null | grep '^/dev/' | egrep -qv '(MS|DOS|FAT|NTFS)'");
     306        ("parted2fdisk -l 2>/dev/null | grep '^/dev/' | grep -Eqv '(MS|DOS|FAT|NTFS)'");
    307307#endif
    308308}
     
    14651465    case dvd:
    14661466        if (archiving_to_media) {
    1467             if (ask_me_yes_or_no
    1468                 (_("Is your computer a laptop, or does the CD writer incorporate BurnProof technology?")))
    1469             {
    1470                 bkpinfo->manual_cd_tray = TRUE;
     1467            if (bkpinfo->backup_media_type != dvd) {
     1468                if (ask_me_yes_or_no
     1469                    (_("Is your computer a laptop, or does the CD writer incorporate BurnProof technology?")))
     1470                {
     1471                    bkpinfo->manual_cd_tray = TRUE;
     1472                }
    14711473            }
    14721474            if ((bkpinfo->compression_level =
     
    20652067    asprintf(&tmp,
    20662068           call_program_and_get_last_line_of_output
    2067            ("df -m -P -t nonfs,msdosfs,ntfs,smbfs,smb,cifs | tr -s '\t' ' ' | grep -v none | grep -v Filesystem | awk '{printf \"%s %s\\n\", $4, $6;}' | sort -n | tail -n1 | awk '{print $NF;}'"));
     2069           ("df -m -P -t nonfs,msdosfs,ntfs,smbfs,smb,cifs | tr -s '\t' ' ' | grep -vE \"none|Filesystem\" | awk '{printf \"%s %s\\n\", $4, $6;}' | sort -n | tail -n1 | awk '{print $NF;}'"));
    20682070#else
    20692071    asprintf(&tmp,
    20702072           call_program_and_get_last_line_of_output
    2071            ("df -m -P -x nfs -x vfat -x ntfs -x smbfs -x smb -x cifs | sed 's/                  /devdev/' | tr -s '\t' ' ' | grep -v none | grep -v Filesystem | grep -v /dev/shm | awk '{printf \"%s %s\\n\", $4, $6;}' | sort -n | tail -n1 | awk '{print $NF;}'"));
     2073           ("df -m -P -x nfs -x vfat -x ntfs -x smbfs -x smb -x cifs | sed 's/                  /devdev/' | tr -s '\t' ' ' | grep -vE \"none|Filesystem|/dev/shm\" | awk '{printf \"%s %s\\n\", $4, $6;}' | sort -n | tail -n1 | awk '{print $NF;}'"));
    20722074#endif
    20732075
Note: See TracChangeset for help on using the changeset viewer.