Changeset 2389 in MondoRescue
- Timestamp:
- Sep 10, 2009, 8:31:57 PM (15 years ago)
- Location:
- branches/2.2.10/mondo/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified branches/2.2.10/mondo/src/common/libmondo-cli.c ¶
r2383 r2389 996 996 fatal_error("No protocol correctly specified for remote share mount. Use protocol://server:share"); 997 997 } 998 p++; 999 /* p points on to the string server:/path */ 998 1000 bkpinfo->netfs_mount = p; 1001 999 1002 /* new netfs mount - remove :// from proto */ 1003 /* going back to protocol */ 1000 1004 p--; 1001 1005 p--; -
TabularUnified branches/2.2.10/mondo/src/mondorestore/mondo-rstr-tools.c ¶
r2383 r2389 745 745 mr_asprintf(bkpinfo->prefix, "%s", STD_PREFIX); 746 746 } 747 } else if (!strcmp(value, "netfs")) { 747 } else if ((!strcmp(value, "netfs")) || (!strcmp(value, "nfs"))) { 748 /* Stay compatible with previous versions by allowing nfs as an entry here */ 748 749 bkpinfo->backup_media_type = netfs; 749 750 bkpinfo->please_dont_eject = TRUE; … … 768 769 } 769 770 mr_free(tmp); 771 /* For compatibility, force protocol in old nfs case to be transparent */ 772 if (!strcmp(value, "nfs")) { 773 mr_free(bkpinfo->netfs_proto); 774 mr_asprintf(bkpinfo->netfs_proto, "nfs"); 775 } 770 776 771 777 } else if (!strcmp(value, "tape")) {
Note:
See TracChangeset
for help on using the changeset viewer.