Changeset 2364


Ignore:
Timestamp:
Sep 3, 2009, 2:48:51 PM (9 years ago)
Author:
bruno
Message:
  • More verbose at installation of additional tools
  • Fix a case where the NFS dir in restore mode was mounted rw (linked to bug #291 could create a huge problem)

(backport from 2.2.9)

Location:
branches/2.2.10
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mindi/rootfs/sbin/install-additional-tools

    r1998 r2364  
    7373liste=`ls`
    7474if [ "$liste" ]; then
     75    LogIt "Installing and removing $liste"
    7576    tar cf - $liste | (cd / ; tar xf -)
    7677    rm -fr $liste
  • branches/2.2.10/mondo/src/common/libmondo-devices.c

    r2357 r2364  
    17301730            mr_free(command);
    17311731
    1732             mr_asprintf(tmp, "mount -t nfs -o nolock %s %s", bkpinfo->nfs_mount, bkpinfo->isodir);
     1732            if (bkpinfo->restore_data) {
     1733                mr_asprintf(tmp, "mount -t nfs -o nolock,ro %s %s", bkpinfo->nfs_mount, bkpinfo->isodir);
     1734            else {
     1735                mr_asprintf(tmp, "mount -t nfs -o nolock %s %s", bkpinfo->nfs_mount, bkpinfo->isodir);
     1736            }
    17331737            run_program_and_log_output(tmp, 3);
    17341738            mr_free(tmp);
Note: See TracChangeset for help on using the changeset viewer.