Changeset 2461 in MondoRescue for branches/2.2.9/mindi


Ignore:
Timestamp:
Oct 14, 2009, 1:12:24 AM (15 years ago)
Author:
Bruno Cornec
Message:
  • umount freshly created VFAT partition on USB key as Ubunu has an automounter mounting it as soon as created (Steffen Neumann sneumann_at_ipb-halle.de)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi/mindi

    r2457 r2461  
    14341434    fi
    14351435    echo -en "."
    1436     echo "Unmounting $USBDEVICE just in case" >> $LOGFILE
     1436    echo "Unmounting $USBPART just in case" >> $LOGFILE
    14371437    umount $USBPART 2>> $LOGFILE 1>> $LOGFILE
    14381438    # If your key has no MBR it may cause an issue
     
    14631463    echo "The USB device $USBDEVICE now looks like this:" >> $LOGFILE
    14641464    $FDISK -l $USBDEVICE 2>&1 | tee -a $LOGFILE
     1465    echo -en "."
     1466    # Some distro do auto mount at that point (Ubuntu)
     1467    echo "Unmounting $USBPART just in case again" >> $LOGFILE
     1468    umount $USBPART 2>> $LOGFILE 1>> $LOGFILE
    14651469    echo -en "."
    14661470    echo "Creating a vfat filesystem on $USBPART" >> $LOGFILE
Note: See TracChangeset for help on using the changeset viewer.