Changeset 3751 in MondoRescue


Ignore:
Timestamp:
Nov 22, 2019, 6:32:52 PM (4 years ago)
Author:
Bruno Cornec
Message:

more logging for netfs case

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mondo/src/common/libmondo-devices.c

    r3746 r3751  
    25512551            mr_asprintf(bkpinfo->netfs_user, "%s", tmp1);
    25522552        }
    2553    
     2553
    25542554        /* Initiate bkpinfo isodir path from running environment if mount already done */
     2555        log_msg(3, "Testing mount for %s", bkpinfo->netfs_mount);
    25552556        if (is_this_device_mounted(bkpinfo->netfs_mount)) {
    25562557            tmp = call_program_and_get_last_line_of_output("mount | grep \":\" | cut -d' ' -f3 | head -n1");
     
    25652566
    25662567            if (bkpinfo->restore_data) {
    2567                 /*  mount th FS read-only in restore mode to avoid any erase of whatever */
     2568                /*  mount the FS read-only in restore mode to avoid any erase of whatever */
    25682569                mr_asprintf(tmpro, "-o ro");
    25692570            } else {
     
    25952596            }
    25962597        }
     2598       
     2599        log_msg(3, "Testing mount for %s", bkpinfo->netfs_mount);
    25972600        if (!is_this_device_mounted(bkpinfo->netfs_mount)) {
    25982601            popup_and_OK("Please mount that partition before you try to backup to or restore from it.");
Note: See TracChangeset for help on using the changeset viewer.