summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-02-13 17:09:27 -0800
committerH. Peter Anvin <hpa@zytor.com>2010-02-13 17:09:27 -0800
commitb82686b524d2ee4441ce411fa6db3a210edbaa34 (patch)
tree89c9b8acb8f7ef8750536f7944bd9ce174c039b5
parenta145977248ad8f61e49668c646e0b52bb21f2420 (diff)
downloadsyslinux-b82686b524d2ee4441ce411fa6db3a210edbaa34.tar.gz
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@zytor.com>
-rw-r--r--mtools/syslinux.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mtools/syslinux.c b/mtools/syslinux.c
index 3d55616d..8fc45350 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",