Ignore:
Timestamp:
Sep 9, 2009, 8:30:47 PM (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)
  • Better logging to detect a potential nuke issue
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/common/libmondo-archive.c

    r2309 r2380  
    787787        mr_asprintf(&value, "iso");
    788788        break;
    789     case nfs:
    790         mr_asprintf(&value, "nfs");
     789    case netfs:
     790        mr_asprintf(&value, "netfs");
    791791        break;
    792792    case dvd:
     
    858858    estimated_total_noof_slices =
    859859        size_of_all_biggiefiles_K(bkpinfo) / bkpinfo->optimal_set_size + 1;
    860     /* add nfs stuff here? */
     860    /* add netfs stuff here? */
    861861    mr_asprintf(&command, "mkdir -p %s/images", bkpinfo->scratchdir);
    862862    if (system(command)) {
     
    12621262
    12631263    sprintf(command, "rm -f %s/%s/%s-[1-9]*.iso", bkpinfo->isodir,
    1264             bkpinfo->nfs_remote_dir, bkpinfo->prefix);
     1264            bkpinfo->netfs_remote_dir, bkpinfo->prefix);
    12651265    paranoid_system(command);
    12661266    wipe_archives(bkpinfo->scratchdir);
     
    32863286 * - @c manual_cd_tray
    32873287 * - @c media_size
    3288  * - @c nfs_mount
    3289  * - @c nfs_remote_dir
     3288 * - @c netfs_mount
     3289 * - @c netfs_remote_dir
    32903290 * - @c scratchdir
    32913291 * - @c verify_data
     
    33633363    }
    33643364    sprintf(isofile, "%s/%s/%s-%d.iso", bkpinfo->isodir,
    3365             bkpinfo->nfs_remote_dir, bkpinfo->prefix,
     3365            bkpinfo->netfs_remote_dir, bkpinfo->prefix,
    33663366            g_current_media_number);
    33673367    for (that_one_was_ok = FALSE; !that_one_was_ok;) {
Note: See TracChangeset for help on using the changeset viewer.