Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Apr 2014 00:45:08 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r264993 - head/sys/boot/amd64/boot1.efi
Message-ID:  <201404270045.s3R0j8f3039645@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nwhitehorn
Date: Sun Apr 27 00:45:08 2014
New Revision: 264993
URL: http://svnweb.freebsd.org/changeset/base/264993

Log:
  Revert to FAT12. This file system is apparently too small for FAT32, even
  if the old (pre r264889) newfs_msdos allowed it. And FAT12 seems to work
  perfectly well.

Modified:
  head/sys/boot/amd64/boot1.efi/Makefile.fat
  head/sys/boot/amd64/boot1.efi/fat.tmpl.bz2.uu
  head/sys/boot/amd64/boot1.efi/generate-fat.sh

Modified: head/sys/boot/amd64/boot1.efi/Makefile.fat
==============================================================================
--- head/sys/boot/amd64/boot1.efi/Makefile.fat	Sun Apr 27 00:40:18 2014	(r264992)
+++ head/sys/boot/amd64/boot1.efi/Makefile.fat	Sun Apr 27 00:45:08 2014	(r264993)
@@ -1,3 +1,3 @@
 # This file autogenerated by generate-fat.sh - DO NOT EDIT
 # $FreeBSD$
-BOOT1_OFFSET=0x3b
+BOOT1_OFFSET=0x2d

Modified: head/sys/boot/amd64/boot1.efi/fat.tmpl.bz2.uu
==============================================================================
--- head/sys/boot/amd64/boot1.efi/fat.tmpl.bz2.uu	Sun Apr 27 00:40:18 2014	(r264992)
+++ head/sys/boot/amd64/boot1.efi/fat.tmpl.bz2.uu	Sun Apr 27 00:45:08 2014	(r264993)
@@ -2,24 +2,20 @@ FAT template boot filesystem created by 
 DO NOT EDIT
 $FreeBSD$
 begin 644 fat.tmpl.bz2
-M0EIH.3%!629362<X?*4`'$M________________________^`T`8`!0$#%$"
-M0$($26(<P`+]@@``08$T::&FFF)B:&FFA@(P",(#)@)IHP$`8`$R,`FF0#(`
-M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_ZO^Z_^[OO_\`5`(0!0&#$D"
+M0$)$2&(<P`(\K5,M9"5%&DQ---,FAH,0```T````R-!HQ`&30`-&"#)ID$JF
+M1)[U4_5-&@`T```#0&AH````````````(,F`$P`!,`1IA&````"9-,308`1@
+M````!))!BDVI/U0`]0R>H:`81HT#)D!H-#U`T#31IH-&(``R8$9_I)6[MY/,
+M(H=/()+4&!(3V0"20C3J5$L5@2`219,"T6JI,@0"2*2\=LAD6=>N6<O!'F<.
+MQ2`;9$.P]202R&N9I3BX[E0;C7/9BF'`((K?M1ZK0B2Q;BLJ9!(`21P&1:;B
+MDD)S!-L5BL5BL/173`@@M!!!!!X@BQ0@@@@@@CJ"A!!!"!`TWD!B!`@0($"J
+M9(E`B,1(D2)$B;V]S&-,&#!@P8,'1\*$+59`:41,';;/)32*G*Q52N![20F8
+M9CCYSB#!2=[EG.),$:P,>(8QSW'U+N42P^'5X@7X``23=EA``#Z,O)^-VTX@
+M`+E!=,&6PV11C:*D8K#^<%FTG-%!@PR72@\ZU0B<D6I$FT/1\<A#/`;ET5$)
+MKT-MBW97\J.P/H0ADE"(EBN6";@5#$2#!(\F/E8M+!8-A-S"+$U5[\J>F1Y]
+MF-FPGL2L>4QCU&O/>89^#H$6^<;&WKC9W52KUX."CM6+GD;(=1!MUD,,?Y[]
+MTLAG0];,:B^]M%BH0J1":_C-*2I9R3AS#,&0>$RCY'T/R?HR!?'5$MILQ:!"
+M+;10A*!&^<(_/8>D8<CDN9]HO)OH13W(Q())?'R2WTV9*G_4T<=Y!'1+'9,(
+J1-/V<ME.&9Q3LKI2S$(`$D,``'_=FF*).\[A.)#4HU1=R13A0D-AO?&0
 `
 end

Modified: head/sys/boot/amd64/boot1.efi/generate-fat.sh
==============================================================================
--- head/sys/boot/amd64/boot1.efi/generate-fat.sh	Sun Apr 27 00:40:18 2014	(r264992)
+++ head/sys/boot/amd64/boot1.efi/generate-fat.sh	Sun Apr 27 00:45:08 2014	(r264993)
@@ -20,7 +20,7 @@ OUTPUT_FILE=fat.tmpl
 
 dd if=/dev/zero of=$OUTPUT_FILE bs=512 count=$FAT_SIZE
 DEVICE=`mdconfig -a -f $OUTPUT_FILE`
-newfs_msdos -F 32 $DEVICE
+newfs_msdos -F 12 $DEVICE
 mkdir stub
 mount -t msdosfs /dev/$DEVICE stub
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404270045.s3R0j8f3039645>