Changeset 687 in MondoRescue for trunk/mondo/mondo/common/libmondo-devices.c
- Timestamp:
- Jul 17, 2006, 3:39:42 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/mondo/common/libmondo-devices.c
r507 r687 304 304 return 305 305 !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)'"); 307 307 #endif 308 308 } … … 1465 1465 case dvd: 1466 1466 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 } 1471 1473 } 1472 1474 if ((bkpinfo->compression_level = … … 2065 2067 asprintf(&tmp, 2066 2068 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;}'")); 2068 2070 #else 2069 2071 asprintf(&tmp, 2070 2072 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;}'")); 2072 2074 #endif 2073 2075
Note:
See TracChangeset
for help on using the changeset viewer.