Changeset 1971 in MondoRescue


Ignore:
Timestamp:
May 30, 2008, 7:00:26 PM (16 years ago)
Author:
Bruno Cornec
Message:

Umount local /proc and /sys before trying to umount other FS at end of backup

File:
1 edited

Legend:

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

    r1968 r1971  
    21462146                                   "/mnt/.boot.d", 5);
    21472147    }
     2148
     2149    /* Unmounting the local /proc and /sys first */
     2150    run_program_and_log_output("umount " MNT_RESTORING "/proc",3);
     2151    run_program_and_log_output("umount " MNT_RESTORING "/sys",3);
     2152
    21482153    for (lino = mountlist->entries - 1; lino >= 0; lino--) {
    21492154        if (!strcmp(mountlist->el[lino].mountpoint, "lvm")) {
Note: See TracChangeset for help on using the changeset viewer.