[syslinux:master] mtools: add MTOOLS_FAT_COMPATIBILITY=1

syslinux-bot for H. Peter Anvin hpa at zytor.com
Sat Feb 13 17:12:02 PST 2010


Commit-ID:  b82686b524d2ee4441ce411fa6db3a210edbaa34
Gitweb:     http://syslinux.zytor.com/commit/b82686b524d2ee4441ce411fa6db3a210edbaa34
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Sat, 13 Feb 2010 17:09:27 -0800
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Sat, 13 Feb 2010 17:09:27 -0800

mtools: add MTOOLS_FAT_COMPATIBILITY=1

It's perfectly legitimate to have a bigger FAT area than is needed,
and it is often done for alignment.  Tell mtools not to throw a hissy
fit over it.

Signed-off-by: H. Peter Anvin <hpa at zytor.com>


---
 mtools/syslinux.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/mtools/syslinux.c b/mtools/syslinux.c
index 3d55616..8fc4535 100644
--- a/mtools/syslinux.c
+++ b/mtools/syslinux.c
@@ -218,8 +218,9 @@ int main(int argc, char *argv[])
 	exit(1);
     }
     fprintf(mtc,
-	    /* "MTOOLS_NO_VFAT=1\n" */
-	    "MTOOLS_SKIP_CHECK=1\n"	/* Needed for some flash memories */
+	    /* These are needed for some flash memories */
+	    "MTOOLS_SKIP_CHECK=1\n"
+	    "MTOOLS_FAT_COMPATIBILITY=1\n"
 	    "drive s:\n"
 	    "  file=\"/proc/%lu/fd/%d\"\n"
 	    "  offset=%llu\n",



More information about the Syslinux-commits mailing list