Changeset 1655 in MondoRescue for branches/2.2.5/mondo/src/common/libmondo-devices.c
- Timestamp:
- Sep 25, 2007, 12:54:32 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mondo/src/common/libmondo-devices.c
r1646 r1655 2516 2516 strcpy(tmp, 2517 2517 call_program_and_get_last_line_of_output 2518 (" df -m -P -t nonfs,msdosfs,ntfs,smbfs,smb,cifs,afs,ocfs,ocfs2,mvfs | tr -s '\t' ' ' | grep -vE \"none|Filesystem\" | awk '{printf \"%s %s\\n\", $4, $6;}' | sort -n | tail -n1 | awk '{print $NF;}'"));2518 ("LANGUAGE=C df -m -P -t nonfs,msdosfs,ntfs,smbfs,smb,cifs,afs,ocfs,ocfs2,mvfs | tr -s '\t' ' ' | grep -vE \"none|Filesystem\" | awk '{printf \"%s %s\\n\", $4, $6;}' | sort -n | tail -n1 | awk '{print $NF;}'")); 2519 2519 #else 2520 2520 strcpy(tmp, 2521 2521 call_program_and_get_last_line_of_output 2522 (" df -m -P -x nfs -x vfat -x ntfs -x smbfs -x smb -x cifs -x afs -x ocfs -x ocfs2 -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;}'"));2522 ("LANGUAGE=C df -m -P -x nfs -x vfat -x ntfs -x smbfs -x smb -x cifs -x afs -x ocfs -x ocfs2 -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;}'")); 2523 2523 #endif 2524 2524 … … 2531 2531 fatal_error("I couldn't figure out the tempdir!"); 2532 2532 } 2533 sprintf(bkpinfo->tmpdir, "%s/tmp.mondo.%d", tmp, 2534 (int) (random() % 32768)); 2533 setup_tmpdir(tmp); 2535 2534 log_it("bkpinfo->tmpdir is being set to %s", bkpinfo->tmpdir); 2536 2535
Note:
See TracChangeset
for help on using the changeset viewer.