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/common/libmondo-verify.c

    r2376 r2382  
    10141014 * - @c bkpinfo->manual_cd_tray
    10151015 * - @c bkpinfo->media_device
    1016  * - @c bkpinfo->nfs_remote_dir
     1016 * - @c bkpinfo->netfs_remote_dir
    10171017 * - @c bkpinfo->tmpdir
    10181018 * - @c bkpinfo->verify_data
     
    10481048
    10491049    mr_asprintf(mountpoint, "%s/cdrom", bkpinfo->tmpdir);
    1050     if (((bkpinfo->isodir == NULL) && (bkpinfo->nfs_remote_dir == NULL)) || (bkpinfo->prefix == NULL)) {
     1050    if (((bkpinfo->isodir == NULL) && (bkpinfo->netfs_remote_dir == NULL)) || (bkpinfo->prefix == NULL)) {
    10511051        fatal_error("No iso filename preparation possible");
    10521052    }
    1053     if (bkpinfo->nfs_remote_dir) {
    1054         // NFS
    1055         mr_asprintf(fname, "%s/%s/%s-%d.iso", bkpinfo->isodir, bkpinfo->nfs_remote_dir, bkpinfo->prefix, g_current_media_number);
     1053    if (bkpinfo->netfs_remote_dir) {
     1054        // NETFS
     1055        mr_asprintf(fname, "%s/%s/%s-%d.iso", bkpinfo->isodir, bkpinfo->netfs_remote_dir, bkpinfo->prefix, g_current_media_number);
    10561056    } else {
    10571057        // ISO
Note: See TracChangeset for help on using the changeset viewer.