Ignore:
Timestamp:
Nov 18, 2019, 12:32:17 PM (4 years ago)
Author:
Bruno Cornec
Message:

Really place the btrfs subvol handler at the right place i.e. shared

File:
1 edited

Legend:

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

    r3734 r3743  
    576576    (void)mount_device("/proc","/proc","proc",TRUE);
    577577    (void)mount_device("/sys","/sys","sysfs",TRUE);
     578    /*  BR#852: we need to create BTRFS subvols now */
     579    /*  Creating potential btrfs subvolumes */
     580    if (does_file_exist("/tmp/create-btrfs-subvol")) {
     581        run_program_and_log_output("/tmp/create-btrfs-subvol",3);
     582    }
     583    /*  Mounting potential btrfs subvolumes */
     584    if (does_file_exist("/tmp/mount-btrfs-subvol")) {
     585        run_program_and_log_output("/tmp/mount-btrfs-subvol",3);
     586    }
    578587    run_program_and_log_output("df -m -P -T", 3);
    579588    paranoid_free(mountlist);
Note: See TracChangeset for help on using the changeset viewer.