Ignore:
Timestamp:
Sep 9, 2009, 8:30:47 PM (11 years ago)
Author:
Bruno Cornec
Message:
  • Change NFS support into a NetFS support to allow for multiple protocol in addition to NFS (NEEDS TESTING)
  • Better logging to detect a potential nuke issue
File:
1 edited

Legend:

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

    r2355 r2380  
    22972297        strcpy(isodir_path, "/");
    22982298    }
    2299     if (does_file_exist("/tmp/NFS-SERVER-PATH")) {
    2300         strcpy(isodir_device, last_line_of_file("/tmp/NFS-SERVER-MOUNT"));
    2301         strcpy(isodir_format, "nfs");
    2302         strcpy(isodir_path, last_line_of_file("/tmp/NFS-SERVER-PATH"));
     2299    if (does_file_exist("/tmp/NETFS-SERVER-PATH")) {
     2300        strcpy(isodir_device, last_line_of_file("/tmp/NETFS-SERVER-MOUNT"));
     2301        strcpy(isodir_format, "netfs");
     2302        strcpy(isodir_path, last_line_of_file("/tmp/NETFS-SERVER-PATH"));
    23032303    }
    23042304    if (nuke_me_please) {
Note: See TracChangeset for help on using the changeset viewer.