Changeset 275 in MondoRescue for branches/2.06/mondo/mondo/common/libmondo-devices.c
- Timestamp:
- Jan 3, 2006, 4:59:29 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.06/mondo/mondo/common/libmondo-devices.c
r273 r275 2434 2434 strcpy(exclude_these_devices, 2435 2435 call_program_and_get_last_line_of_output 2436 (" cat /etc/fstab | tr -s '\t' ' '| grep -E '( (coda|ncpfs|nfs|smbfs|cifs) )' | cut -d' ' -f1 | tr -s '\n' ' ' | awk '{print $0;}'"));2436 ("tr -s '\t' ' ' < /etc/fstab | grep -E '( (coda|ncpfs|nfs|smbfs|cifs) )' | cut -d' ' -f1 | tr -s '\n' ' ' | awk '{print $0;}'")); 2437 2437 sprintf(result_sz, "%s %s", exclude_these_directories, 2438 2438 exclude_these_devices); … … 2464 2464 strcpy(exclude_these_devices, 2465 2465 call_program_and_get_last_line_of_output 2466 (" cat /etc/fstab | tr -s '\t' ' '| grep -E '( (coda|ncpfs|nfs|smbfs|cifs) )' | cut -d' ' -f1 | tr -s '\n' ' ' | awk '{print $0;}'"));2466 ("tr -s '\t' ' ' < /etc/fstab | grep -E '( (coda|ncpfs|nfs|smbfs|cifs) )' | cut -d' ' -f1 | tr -s '\n' ' ' | awk '{print $0;}'")); 2467 2467 sprintf(result_sz, "%s", exclude_these_directories); 2468 2468 paranoid_free(exclude_these_devices);
Note:
See TracChangeset
for help on using the changeset viewer.