Ignore:
Timestamp:
Nov 18, 2019, 2:48:58 AM (4 years ago)
Author:
Bruno Cornec
Message:

Call the btrfs subvol functions after mounting the base FS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mondo/src/mondorestore/mondorestore.c

    r3658 r3741  
    19741974        goto end_of_func;
    19751975    }
     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
    19761986    /* restore */
    19771987    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.