Changeset 2847 in MondoRescue for branches/2.2.9/mondo/src/mondorestore/mondorestore.c
- Timestamp:
- Jul 5, 2011, 3:26:49 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/src/mondorestore/mondorestore.c
r2837 r2847 3129 3129 run_program_and_log_output("mkdir -p /tmp/isodir", 5); 3130 3130 if (strstr(bkpinfo->netfs_proto, "sshfs")) { 3131 sprintf(tmp, "sshfs -o ro %s /tmp/isodir", 3132 bkpinfo->netfs_mount); 3131 if (bkpinfo->netfs_user) { 3132 sprintf(tmp, "sshfs -o ro %s@%s /tmp/isodir", 3133 bkpinfo->netfs_user,bkpinfo->netfs_mount); 3134 } else { 3135 sprintf(tmp, "sshfs -o ro %s /tmp/isodir", 3136 bkpinfo->netfs_mount); 3137 } 3133 3138 } else { 3134 sprintf(tmp, "mount %s -o nolock,ro /tmp/isodir", 3135 bkpinfo->netfs_mount); 3139 if (bkpinfo->netfs_user) { 3140 sprintf(tmp, "mount %s@%s -o nolock,ro /tmp/isodir", 3141 bkpinfo->netfs_user,bkpinfo->netfs_mount); 3142 } else { 3143 sprintf(tmp, "mount %s -o nolock,ro /tmp/isodir", 3144 bkpinfo->netfs_mount); 3145 } 3136 3146 } 3137 3147 run_program_and_log_output(tmp, 1);
Note:
See TracChangeset
for help on using the changeset viewer.