Changeset 2460 in MondoRescue for branches/2.2.10/mondo/src/common/libmondo-devices.c
- Timestamp:
- Oct 9, 2009, 3:18:59 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mondo/src/common/libmondo-devices.c
r2446 r2460 1632 1632 /* There were no partitions on the disk */ 1633 1633 log_msg(4, "No partitions on device special file %s", dsf); 1634 log_msg(4, "I guess it's a parti ion itself");1634 log_msg(4, "I guess it's a partition itself"); 1635 1635 mr_asprintf(partitions[0], "%s", dsf); 1636 1636 mr_asprintf(tmp, "%s", dsf); … … 1914 1914 log_msg(1, "WARNING ! %s doesn't exist in -E option", token); 1915 1915 } else { 1916 log_msg(1, "ERROR ! %s doesn't exist in -I option", token); 1916 1917 fatal_error("Error processing -I option"); 1917 1918 } … … 1926 1927 mr_strcat(bkpinfo->exclude_paths, "%s ", mounted_on_dsf); 1927 1928 mr_strcat(bkpinfo->exclude_devs, " %s ", token); 1928 } else { 1929 log_to_screen("Archiving only the following file systems on %s:\n", token); 1930 log_to_screen(" %s\n", mounted_on_dsf); 1931 mr_asprintf(bkpinfo->include_paths, "/"); 1932 if (strlen(not_mounted_on_dsf)) { 1933 log_msg (5, "Adding to bkpinfo->exclude_paths due to -I option: %s", not_mounted_on_dsf); 1934 log_to_screen("Not archiving the following file systems:\n"); 1935 log_to_screen(" %s\n", not_mounted_on_dsf); 1936 mr_strcat(bkpinfo->exclude_paths, "%s ", not_mounted_on_dsf); 1937 } 1929 } 1930 } else { 1931 log_to_screen("Archiving only the following file systems on %s:\n", token); 1932 log_to_screen(" %s\n", mounted_on_dsf); 1933 strcpy(bkpinfo->include_paths, "/"); 1934 if (strlen(not_mounted_on_dsf)) { 1935 log_msg (5, "Adding to bkpinfo->exclude_paths due to -I option: %s", not_mounted_on_dsf); 1936 log_to_screen("Not archiving the following file systems:\n"); 1937 log_to_screen(" %s\n", not_mounted_on_dsf); 1938 strcat(bkpinfo->exclude_paths, not_mounted_on_dsf); 1939 strcat(bkpinfo->exclude_paths, ""); 1938 1940 } 1939 1941 }
Note:
See TracChangeset
for help on using the changeset viewer.