Changeset 3741 in MondoRescue for branches/3.3/mondo/src/mondorestore
- Timestamp:
- Nov 18, 2019, 2:48:58 AM (5 years ago)
- Location:
- branches/3.3/mondo/src/mondorestore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mondo/src/mondorestore/mondo-prep.c
r3739 r3741 795 795 log_to_screen(tmp); 796 796 mr_free(tmp); 797 798 /* BR#852: we need to create BTRFS subvols now */799 if ((! res) && (strcmp(format, "btrfs") == 0)) {800 /* Creating potential btrfs subvolumes */801 if (does_file_exist("/tmp/create-btrfs-subvol")) {802 run_program_and_log_output("/tmp/create-btrfs-subvol",3);803 }804 /* Mounting potential btrfs subvolumes */805 if (does_file_exist("/tmp/mount-btrfs-subvol")) {806 run_program_and_log_output("/tmp/mount-btrfs-subvol",3);807 }808 }809 797 810 798 /* BR#836: we need to do it a second time if -m wasn't working in that version for XFS */ -
branches/3.3/mondo/src/mondorestore/mondorestore.c
r3658 r3741 1974 1974 goto end_of_func; 1975 1975 } 1976 /* BR#852: we need to create BTRFS subvols now */ 1977 /* Creating potential btrfs subvolumes */ 1978 if (does_file_exist("/tmp/create-btrfs-subvol")) { 1979 run_program_and_log_output("/tmp/create-btrfs-subvol",3); 1980 } 1981 /* Mounting potential btrfs subvolumes */ 1982 if (does_file_exist("/tmp/mount-btrfs-subvol")) { 1983 run_program_and_log_output("/tmp/mount-btrfs-subvol",3); 1984 } 1985 1976 1986 /* restore */ 1977 1987 if ((restore_all = ask_me_yes_or_no("Do you want me to restore all of your data?"))) {
Note:
See TracChangeset
for help on using the changeset viewer.