mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-12-23 13:47:44 +02:00
Possible mistake in qi/6410-partition.sh
Hello Andy, I am in the process of making a modified 6410-partition.sh and I wonder if there is a mistake in the VFAT partition size: Shouldn't the "+ $REARSECTORS" in the FATSECTORS calculation be a subtraction, otherwise the backupfs will overlap the space reserved for Qi at the end of the SD Card. Please look at this dif to see what I mean:
This commit is contained in:
parent
9416da3dc7
commit
3b3f2857a9
@ -70,8 +70,8 @@ echo "$1 is $SECTORS 512-byte blocks"
|
||||
if [ -z "$4" ] ; then
|
||||
|
||||
|
||||
FATSECTORS=$(( $SECTORS - $EXT3_TOTAL_SECTORS + $REARSECTORS ))
|
||||
FATMB=$(( $FATSECTORS / 2048 - 16 ))
|
||||
FATSECTORS=$(( $SECTORS - $EXT3_TOTAL_SECTORS - $REARSECTORS ))
|
||||
FATMB=$(( $FATSECTORS / 2048 ))
|
||||
|
||||
echo "Creating VFAT section $FATMB MB"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user