Changeset 729 in MondoRescue for trunk/mondo/mondo/common/libmondo-devices.c
- Timestamp:
- Jul 30, 2006, 4:06:39 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/mondo/common/libmondo-devices.c
r689 r729 1575 1575 if (bkpinfo->media_device != NULL) { 1576 1576 asprintf(&tmp, 1577 _("I think I've found your %s burner at SCSI node %s; am I right on the money? "),1577 _("I think I've found your %s burner at SCSI node %s; am I right on the money? Say no if you have an IDE burner and you are running a 2.6 kernel. Instead, specify the IDE burner's /dev address at the next screen."), 1578 1578 media_descriptor_string(bkpinfo-> 1579 1579 backup_media_type), … … 2021 2021 { 2022 2022 return(call_program_and_get_last_line_of_output 2023 ("mount -t coda,ncpfs,nfs,smbfs,cifs | tr -s '\t' ' ' | cut -d' ' -f3 | tr -s '\n' ' ' | awk '{print $0;}'"));2023 ("mount -t coda,ncpfs,nfs,smbfs,cifs,mvfs | tr -s '\t' ' ' | cut -d' ' -f3 | tr -s '\n' ' ' | awk '{print $0;}'")); 2024 2024 /* BERLIOS : Useless 2025 2025 asprintf(&exclude_these_devices, 2026 2026 call_program_and_get_last_line_of_output 2027 ("tr -s '\t' ' ' < /etc/fstab | grep -E '( (coda|ncpfs|nfs|smbfs|cifs ) )' | cut -d' ' -f1 | tr -s '\n' ' ' | awk '{print $0;}'"));2027 ("tr -s '\t' ' ' < /etc/fstab | grep -E '( (coda|ncpfs|nfs|smbfs|cifs|mvfs) )' | cut -d' ' -f1 | tr -s '\n' ' ' | awk '{print $0;}'")); 2028 2028 */ 2029 2029 } … … 2072 2072 #ifdef __FreeBSD__ 2073 2073 tmp = call_program_and_get_last_line_of_output 2074 ("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;}'");2074 ("df -m -P -t nonfs,msdosfs,ntfs,smbfs,smb,cifs,mvfs | tr -s '\t' ' ' | grep -vE \"none|Filesystem\" | awk '{printf \"%s %s\\n\", $4, $6;}' | sort -n | tail -n1 | awk '{print $NF;}'"); 2075 2075 #else 2076 2076 tmp = call_program_and_get_last_line_of_output 2077 ("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;}'");2077 ("df -m -P -x nfs -x vfat -x ntfs -x smbfs -x smb -x cifs -x mvfs | 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;}'"); 2078 2078 #endif 2079 2079
Note:
See TracChangeset
for help on using the changeset viewer.