Changeset 3751 in MondoRescue
- Timestamp:
- Nov 22, 2019, 6:32:52 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mondo/src/common/libmondo-devices.c
r3746 r3751 2551 2551 mr_asprintf(bkpinfo->netfs_user, "%s", tmp1); 2552 2552 } 2553 2553 2554 2554 /* Initiate bkpinfo isodir path from running environment if mount already done */ 2555 log_msg(3, "Testing mount for %s", bkpinfo->netfs_mount); 2555 2556 if (is_this_device_mounted(bkpinfo->netfs_mount)) { 2556 2557 tmp = call_program_and_get_last_line_of_output("mount | grep \":\" | cut -d' ' -f3 | head -n1"); … … 2565 2566 2566 2567 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 */ 2568 2569 mr_asprintf(tmpro, "-o ro"); 2569 2570 } else { … … 2595 2596 } 2596 2597 } 2598 2599 log_msg(3, "Testing mount for %s", bkpinfo->netfs_mount); 2597 2600 if (!is_this_device_mounted(bkpinfo->netfs_mount)) { 2598 2601 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.