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.
This commit is contained in:
Nathan Whitehorn 2014-04-27 00:45:08 +00:00
parent be583ba69d
commit 1c6c63fc6a
3 changed files with 17 additions and 21 deletions

View File

@ -1,3 +1,3 @@
# This file autogenerated by generate-fat.sh - DO NOT EDIT # This file autogenerated by generate-fat.sh - DO NOT EDIT
# $FreeBSD$ # $FreeBSD$
BOOT1_OFFSET=0x3b BOOT1_OFFSET=0x2d

View File

@ -2,24 +2,20 @@ FAT template boot filesystem created by generate-fat.sh
DO NOT EDIT DO NOT EDIT
$FreeBSD$ $FreeBSD$
begin 644 fat.tmpl.bz2 begin 644 fat.tmpl.bz2
M0EIH.3%!629362<X?*4`'$M________________________^`T`8`!0$#%$" M0EIH.3%!62936=AO?&0`&J9____[ZZKJJ_^N_ZO^Z_^[OO_\`5`(0!0&#$D"
M0$($26(<P`+]@@``08$T::&FFF)B:&FFA@(P",(#)@)IHP$`8`$R,`FF0#(` M0$)$2&(<P`(\K5,M9"5%&DQ---,FAH,0```T````R-!HQ`&30`-&"#)ID$JF
M8AID!55*,3)B/29#)H9,U,F1HT#308&B#3",$&0:--I`PC3)H`R::,"9-`R9 M1)[U4_5-&@`T```#0&AH````````````(,F`$P`!,`1IA&````"9-,308`1@
M&$&!-&FAIIIB8FAIIH8",`C"`R8"::,!`&`!,C`)ID`R`&(:9`5))$Q*>0F1 M````!))!BDVI/U0`]0R>H:`81HT#)D!H-#U`T#31IH-&(``R8$9_I)6[MY/,
MIH#31H--/48U#0--&":#0`80&@TT,@`-&FF"&F@'J::&U/34NO5O]KH&,P3D M(H=/()+4&!(3V0"20C3J5$L5@2`219,"T6JI,@0"2*2\=LAD6=>N6<O!'F<.
M9TC0KV+%M5^)$Y=$D2(S=*LB`@R"#`))MDFE$%&-NDVQ;AN6'M4LC-TEV[;Q MQ2`;9$.P]202R&N9I3BX[E0;C7/9BF'`((K?M1ZK0B2Q;B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FOQU632YRP7U&%AQ J1-/V<ME.&9Q3LKI2S$(`$D,``'_=FF*).\[A.)#4HU1=R13A0D-AO?&0
M*N5LEBY4NTSK%.Y7B;M1VC`LZJF)3*7+&)HFR:3&E],AB;Y_R\R&X9+6N$OS
MG.@F!CKTC7,*\N.>HC>J9JLU)CN\93G:R2HF-)RY."9[:-NSFY;)AW3_&>YC
MGE^<EGLW+WC-:)@V^HRU+@$D4`>RL\!$JAO6TM%S=C+LRM7_XNY(IPH2!.</
"E*``
` `
end end

View File

@ -20,7 +20,7 @@ OUTPUT_FILE=fat.tmpl
dd if=/dev/zero of=$OUTPUT_FILE bs=512 count=$FAT_SIZE dd if=/dev/zero of=$OUTPUT_FILE bs=512 count=$FAT_SIZE
DEVICE=`mdconfig -a -f $OUTPUT_FILE` DEVICE=`mdconfig -a -f $OUTPUT_FILE`
newfs_msdos -F 32 $DEVICE newfs_msdos -F 12 $DEVICE
mkdir stub mkdir stub
mount -t msdosfs /dev/$DEVICE stub mount -t msdosfs /dev/$DEVICE stub