Changeset 1311


Ignore:
Timestamp:
Apr 16, 2007, 1:04:22 AM (12 years ago)
Author:
bruno
Message:

Suppress losetup usage in start-nfs (unreliable and doesn't work with QEMU

Location:
branches/2.2.2/mindi
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.2/mindi/ChangeLog

    r1308 r1311  
    44
    551.2.2 (2007-04-15)
     6- Suppress losetup usage in start-nfs (unreliable and doesn't work with QEMU (Bruno Cornec)
    67- Fix a bug where losetup is called with only one parameter (#140) (Bruno Cornec)
    78- Fix a bug on NFS in FC6 - fscache module needed (Bruno Cornec)
  • branches/2.2.2/mindi/mindi

    r1301 r1311  
    17191719
    17201720    tar -zxf $MINDI_LIB/dev.tgz || LogIt "Cannot untar dev.tgz"
    1721     # BERLIOS : Useless and generating errors on CentOS ? (losetup mis a param)
     1721    # BERLIOS : Useless and generating errors on CentOS ? (losetup miss a param)
    17221722    #losetup /dev/loop0 > /dev/null 2> /dev/null
    17231723    #[ "$?" -eq "0" ] || losetup /dev/loop0 -d || Die "Please free up /dev/loop0 by typing 'losetup /dev/loop0 -d'.\nReboot if necessary."
     
    18571857    fi
    18581858    cd $old_pwd
    1859     losetup /dev/loop0 > /dev/null 2> /dev/null
    1860     [ "$?" -eq "0" ] || losetup /dev/loop0 -d || Die "Please free up /dev/loop0 by typing   'losetup /dev/loop0 -d'.\nReboot if necessary."
     1859    # BERLIOS : Useless and generating errors on CentOS ? (losetup miss a param)
     1860    #losetup /dev/loop0 > /dev/null 2> /dev/null
     1861    #[ "$?" -eq "0" ] || losetup /dev/loop0 -d || Die "Please free up /dev/loop0 by typing   'losetup /dev/loop0 -d'.\nReboot if necessary."
    18611862    CopyBootBFile $mountpoint/boot.b
    18621863
  • branches/2.2.2/mindi/rootfs/sbin/start-nfs

    r802 r1311  
    7474
    7575LogIt "Mounting NFS image ${imgname}-1.iso in $dirimg on /mnt/cdrom in loopback"
    76 losetup /dev/loop7 /tmp/isodir/$dirimg/${imgname}-1.iso
    77 mount -o ro -t iso9660 /dev/loop7 /mnt/cdrom
     76mount -o ro -t iso9660 /tmp/isodir/$dirimg/${imgname}-1.iso /mnt/cdrom
Note: See TracChangeset for help on using the changeset viewer.