Changeset 1927 in MondoRescue for branches/2.2.6/mindi/rootfs/sbin/start-nfs


Ignore:
Timestamp:
Apr 18, 2008, 2:59:01 PM (16 years ago)
Author:
Bruno Cornec
Message:
  • Fixing broken NFS support in 2.2.5 for rhel5 where additional command like mount.nfs is needed
  • Need to loopback mount when using NFS (wasn't needed with busybox version)
  • Fix broken udev support introduced by fixing non-udev support during 2.2.6
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.6/mindi/rootfs/sbin/start-nfs

    r1830 r1927  
    6868    # Finally mounts the NFS share
    6969    LogIt "Mounting NFS share ($nfsmount) on /tmp/isodir..."
     70    touch /etc/mtab
    7071    mount -t nfs -o nolock $nfsmount /tmp/isodir
    7172   
    7273    LogIt "Mounting NFS image ${imgname}-1.iso in $dirimg on /mnt/cdrom in loopback"
    73     mount -o ro -t iso9660 /tmp/isodir/$dirimg/${imgname}-1.iso /mnt/cdrom
     74    mount -o ro,loop -t iso9660 /tmp/isodir/$dirimg/${imgname}-1.iso /mnt/cdrom
    7475fi
Note: See TracChangeset for help on using the changeset viewer.