Ignore:
Timestamp:
Sep 10, 2009, 2:07:16 AM (15 years ago)
Author:
Bruno Cornec
Message:
  • Change NFS support into a NetFS support to allow for multiple protocol in addition to NFS (NEEDS TESTING)

(Backport from 2.2.9)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/src/mondorestore/mondo-rstr-newt.c

    r2357 r2382  
    22892289    }
    22902290
    2291     if (does_file_exist("/tmp/NFS-SERVER-PATH")) {
     2291    if (does_file_exist("/tmp/NETFS-SERVER-PATH")) {
    22922292        mr_free(idev);
    2293         idev = last_line_of_file("/tmp/NFS-SERVER-MOUNT");
    2294         mr_asprintf(isodir_format, "nfs");
     2293        idev = last_line_of_file("/tmp/NETFS-SERVER-MOUNT");
     2294        mr_asprintf(isodir_format, "netfs");
    22952295        mr_free(isodir_path);
    2296         isodir_path = last_line_of_file("/tmp/NFS-SERVER-PATH");
     2296        isodir_path = last_line_of_file("/tmp/NETFS-SERVER-PATH");
    22972297    }
    22982298
Note: See TracChangeset for help on using the changeset viewer.