Changeset 3531


Ignore:
Timestamp:
Mar 9, 2016, 6:17:17 PM (19 months ago)
Author:
bruno
Message:
  • Use mkfs.vfat now everywhere (removes mkdosfs references)
  • Avoid using -F 32 to let the mkfs.vfat command choose the best size by itself. Should fix an issue with mr-label with UUIDs and also errors creating bootroot FS with mindi
Location:
branches/3.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi/mindi

    r3528 r3531  
    16981698
    16991699LogAll "INFO: Creating a vfat filesystem on $part"
    1700 mkdosfs -F 32 $part 2>&1 >> $LOGFILE
     1700
     1701mkfs.vfat $part 2>&1 >> $LOGFILE
    17011702if [ $? -ne 0 ]; then
    17021703    LogAll "ERROR: Unable to create a vfat filesystem on $part"
     
    17641765    # ISO
    17651766    if [ "$BOOT_TYPE" = "BIOS" ]; then
    1766         # syslinux should be run on a  local file (doen't work through NFS Cf: #297)
     1767        # syslinux should be run on a local file (doen't work through NFS Cf: #297)
    17671768        # and run after the formating for versions > 6 it seems
    17681769        syslinux $part >> $LOGFILE 2>> $LOGFILE
     
    29402941LogFile "-----------------------------"
    29412942
    2942 [ -e "/sbin/mkdosfs" ] && [ ! -e "/sbin/mkfs.vfat" ] && LogAll "/sbin/mkfs.vfat is missing!"
    2943 
    29442943# Log some capital variables
    29452944[ "$MINDI_PREFIX" = "XXX" ] && Die "Mindi has not been installed correctly."
  • branches/3.2/mondo/src/mondorestore/mondo-prep.c

    r3450 r3531  
    21012101#else
    21022102#ifdef __IA64__
    2103     /* For EFI or UEFI partitions take fat16
     2103    /* For EFI partitions on ia64 take fat16
    21042104     * as we want to make small ones */
    21052105    mr_asprintf(program, "mkfs.vfat -F 16");
    21062106#else
    2107     mr_asprintf(program, "mkfs.vfat -F 32");
     2107    /* mkfs.vfat will make the best possible choice itself */
     2108    /* should avoid problems with mr-label later on when used */
     2109    mr_asprintf(program, "mkfs.vfat");
    21082110#endif
    21092111#endif
Note: See TracChangeset for help on using the changeset viewer.