Changeset 3432 in MondoRescue for branches/3.2/mondo/src
- Timestamp:
- Aug 28, 2015, 2:34:47 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mondo/src/common/libmondo-devices.c
r3431 r3432 1091 1091 1092 1092 if (device_raw[0] != '/' && !strstr(device_raw, ":/")) { 1093 log_msg(1, "%s needs to have a '/' prefixed - I'll do it", 1094 device_raw); 1093 log_msg(1, "%s needs to have a '/' prefixed - I'll do it", device_raw); 1095 1094 mr_asprintf(tmp, "/%s", device_raw); 1096 1095 } else { … … 1099 1098 log_msg(1, "Is %s mounted?", tmp); 1100 1099 if (!strcmp(tmp, "/proc") || !strcmp(tmp, "proc")) { 1101 log_msg(1, 1102 "I don't know how the heck /proc made it into the mountlist. I'll ignore it."); 1100 log_msg(1, "I don't know how the heck /proc made it into the mountlist. I'll ignore it."); 1103 1101 mr_free(tmp); 1104 1102 return(FALSE); … … 1124 1122 mr_free(device_with_tab); 1125 1123 paranoid_pclose(fin); 1124 1126 1125 mr_asprintf(tmp, "%s | grep -E \"^%s\" > /dev/null 2> /dev/null", SWAPLIST_COMMAND, device_with_space); 1127 1126 mr_free(device_with_space);
Note:
See TracChangeset
for help on using the changeset viewer.