diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2012-03-11 20:06:09 +0100 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2012-03-11 20:06:09 +0100 |
commit | c2ba38c43caddad20db954ffe12afe2848537b3e (patch) | |
tree | ac30332a40b9822fbd6e84949610a2d9d2e76a70 /isohybrid-acritox | |
parent | f6e97e186104985f1e5cc536f976c0da60487c33 (diff) | |
download | kanotix-c2ba38c43caddad20db954ffe12afe2848537b3e.zip kanotix-c2ba38c43caddad20db954ffe12afe2848537b3e.tar.gz |
isohybrid-acritox FAT-maxsize calculation fix
Diffstat (limited to 'isohybrid-acritox')
-rwxr-xr-x | isohybrid-acritox | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isohybrid-acritox b/isohybrid-acritox index 3b2e817..10fdc1f 100755 --- a/isohybrid-acritox +++ b/isohybrid-acritox @@ -105,7 +105,7 @@ $fat_pos = $fat_pos_lba*512; $fat_pos_blk = $fat_pos_lba/4; # Set the maximum size of the FAT partiton -$fat_maxsize_blk = $csf_pos_blk + $csf_size_blk - $fat_pos_blk; +$fat_maxsize_blk = $csf_size_blk - $fat_pos_blk; $fat_maxsize_blk -= $fat_maxsize_blk % 16; # Generate the FAT partition |