Ignore:
Timestamp:
Sep 9, 2009, 8:30:47 PM (10 years ago)
Author:
bruno
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/newt-specific.c

    r2374 r2380  
    101101     g_xmondo_stdout[MAX_NEWT_COMMENT_LEN]; ///< .... @bug Unneeded w/current XMondo.
    102102    bool g_called_by_xmondo = FALSE;    ///< @bug Unneeded w/current XMondo.
    103     char *g_selfmounted_isodir; ///< Holds the NFS mountpoint if mounted via mondoarchive.
     103    char *g_selfmounted_isodir; ///< Holds the NETFS mountpoint if mounted via mondoarchive.
    104104
    105105/* @} - end of globalGroup */
     
    445445        }
    446446        /* Free all allocated strings in bkpinfo */
    447         mr_free(bkpinfo->nfs_user);
     447        mr_free(bkpinfo->netfs_user);
     448        mr_free(bkpinfo->netfs_proto);
    448449
    449450        /* Then free the structure */
     
    12521253 * Ask the user which backup media type they would like to use.
    12531254 * The choices are @p none (exit to shell), @c cdr, @c cdrw, @c dvd,
    1254  * @c tape, @c cdstream, @c udev (only when @p g_text_mode is TRUE), @c nfs,
     1255 * @c tape, @c cdstream, @c udev (only when @p g_text_mode is TRUE), @c netfs,
    12551256 * and @c iso.
    12561257 * @param restoring TRUE if we're restoring, FALSE if we're backing up.
     
    12671268        char *minimsg_sz;
    12681269        static t_bkptype possible_bkptypes[] =
    1269             { none, cdr, cdrw, dvd, tape, cdstream, udev, nfs, iso };
     1270            { none, cdr, cdrw, dvd, tape, cdstream, udev, netfs, iso };
    12701271        static char *possible_responses[] =
    12711272            { "none", "cdr", "cdrw", "dvd", "tape", "cdstream", "udev",
    1272 "nfs", "iso", NULL };
     1273"netfs", "iso", NULL };
    12731274        char *outstr;
    12741275        t_bkptype backup_type;
     
    13281329        b4 = newtButton(17, 5, "USB Key/Disk");
    13291330        b5 = newtButton(1, 5, " DVD disks ");
    1330         b6 = newtButton(17, 9, " NFS mount ");
     1331        b6 = newtButton(17, 9, " Net mount ");
    13311332        b7 = newtButton(1, 13, " Hard disk ");
    13321333        b8 = newtButton(17, 13, "    Exit   ");
     
    13481349            output = dvd;
    13491350        } else if (b_res == b6) {
    1350             output = nfs;
     1351            output = netfs;
    13511352        } else if (b_res == b7) {
    13521353            output = iso;
Note: See TracChangeset for help on using the changeset viewer.