wok-6.x rev 20089
syslinux/isohybrid.sh: remove padding to MB
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 30 15:39:19 2017 +0200 (2017-09-30) |
parents | ec4bc374aea9 |
children | 58e84520f85b |
files | syslinux/stuff/tools/isohybrid.sh |
line diff
1.1 --- a/syslinux/stuff/tools/isohybrid.sh Fri Sep 29 16:02:41 2017 +0200 1.2 +++ b/syslinux/stuff/tools/isohybrid.sh Sat Sep 30 15:39:19 2017 +0200 1.3 @@ -253,7 +253,7 @@ 1.4 trksz=$(( 512 * $heads * $sectors )) 1.5 cylinders=$(( ($size + $trksz - 1) / $trksz )) 1.6 pad=$(( (($cylinders * $trksz) - $size) / 512 )) 1.7 -[ $pad -eq 0 ] || ddq bs=512 count=$pad if=/dev/zero >> $iso 1.8 +#[ $pad -eq 0 ] || ddq bs=512 count=$pad if=/dev/zero >> $iso 1.9 if [ $cylinders -gt 1024 ]; then 1.10 cat 1>&2 <<EOT 1.11 Warning: more than 1024 cylinders ($cylinders).