Changeset 2054


Ignore:
Timestamp:
Oct 26, 2008, 3:01:43 PM (12 years ago)
Author:
Bruno Cornec
Message:

Use dd intead of fdisk to destroy the USB key before formating

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.8/mindi/mindi

    r2052 r2054  
    13731373    umount $USBPART 2>> $LOGFILE 1>> $LOGFILE
    13741374    echo "Erasing $USBDEVICE" >> $LOGFILE
     1375    dd if=/dev/zero of=$USBDEVICE bs=1k count=512 >> $LOGFILE 2>> $LOGFILE
     1376    echo "Preparing $USBDEVICE" >> $LOGFILE
    13751377    $FDISK $USBDEVICE 2>> $LOGFILE 1>> $LOGFILE << EOF
    1376 d
    1377 d
    1378 d
    1379 d
    13801378n
    13811379p
Note: See TracChangeset for help on using the changeset viewer.