Changeset 2453 in MondoRescue
- Timestamp:
- Oct 7, 2009, 10:17:03 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/src/common/libmondo-devices.c
r2450 r2453 1696 1696 /* There were no partitions on the disk */ 1697 1697 log_msg(4, "No partitions on device special file %s", dsf); 1698 log_msg(4, "I guess it's a parti ion itself");1698 log_msg(4, "I guess it's a partition itself"); 1699 1699 strcpy(partitions[0], dsf); 1700 1700 ndsf = truncate_to_drive_name(dsf); … … 1954 1954 log_msg(1, "WARNING ! %s doesn't exist in -E option", token); 1955 1955 } else { 1956 log_msg(1, "ERROR ! %s doesn't exist in -I option", token); 1956 1957 fatal_error("Error processing -I option"); 1957 1958 } … … 1967 1968 strcat(bkpinfo->exclude_paths, " "); 1968 1969 mr_strcat(bkpinfo->exclude_devs, " %s ", token); 1969 } else {1970 log_to_screen("Archiving only the following file systems on %s:\n", token);1971 log_to_screen(" %s\n", mounted_on_dsf);1972 strcpy(bkpinfo->include_paths, "/");1973 if (strlen(not_mounted_on_dsf)) {1974 log_msg (5, "Adding to bkpinfo->exclude_paths due to -I option: %s", not_mounted_on_dsf);1975 log_to_screen("Not archiving the following file systems:\n");1976 log_to_screen(" %s\n", not_mounted_on_dsf);1977 strcat(bkpinfo->exclude_paths, not_mounted_on_dsf);1978 strcat(bkpinfo->exclude_paths, "");1979 }1970 } 1971 } else { 1972 log_to_screen("Archiving only the following file systems on %s:\n", token); 1973 log_to_screen(" %s\n", mounted_on_dsf); 1974 strcpy(bkpinfo->include_paths, "/"); 1975 if (strlen(not_mounted_on_dsf)) { 1976 log_msg (5, "Adding to bkpinfo->exclude_paths due to -I option: %s", not_mounted_on_dsf); 1977 log_to_screen("Not archiving the following file systems:\n"); 1978 log_to_screen(" %s\n", not_mounted_on_dsf); 1979 strcat(bkpinfo->exclude_paths, not_mounted_on_dsf); 1980 strcat(bkpinfo->exclude_paths, ""); 1980 1981 } 1981 1982 }
Note:
See TracChangeset
for help on using the changeset viewer.