3f1f465906
- hack to use just 1 sector for embedded devices. should be made into a flag, but this shouldn't break normal systems ... lunchpad bug (746262) - fixes ppc boot from vfat (in case root on raid,lvm,ext4) OBS-URL: https://build.opensuse.org/request/show/139467 OBS-URL: https://build.opensuse.org/package/show/Base:System/dosfstools?expand=0&rev=29
14 lines
579 B
Diff
14 lines
579 B
Diff
Index: dosfstools-3.0.10/src/mkdosfs.c
|
|
===================================================================
|
|
--- dosfstools-3.0.10.orig/src/mkdosfs.c
|
|
+++ dosfstools-3.0.10/src/mkdosfs.c
|
|
@@ -1059,7 +1059,7 @@ setup_tables (void)
|
|
}
|
|
|
|
/* Adjust the reserved number of sectors for alignment */
|
|
- reserved_sectors = align_object(reserved_sectors, bs.cluster_size);
|
|
+ /* reserved_sectors = align_object(reserved_sectors, bs.cluster_size); */
|
|
bs.reserved = CT_LE_W(reserved_sectors);
|
|
|
|
/* Adjust the number of root directory entries to help enforce alignment */
|