Changeset 2061 in MondoRescue


Ignore:
Timestamp:
Nov 19, 2008, 12:59:20 PM (12 years ago)
Author:
Bruno Cornec
Message:

When restoring interactively from NFS the NFS share is now mounted read-only (Fixes #291)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.8/mondo/src/mondorestore/mondorestore.c

    r2053 r2061  
    30963096                sprintf(bkpinfo->isodir, "/tmp/isodir");
    30973097                run_program_and_log_output("mkdir -p /tmp/isodir", 5);
    3098                 sprintf(tmp, "mount %s -t nfs -o nolock /tmp/isodir",
     3098                sprintf(tmp, "mount %s -t nfs -o nolock,ro /tmp/isodir",
    30993099                        bkpinfo->nfs_mount);
    31003100                run_program_and_log_output(tmp, 1);
Note: See TracChangeset for help on using the changeset viewer.