Hi,
This is more for the benefit of others who may encounter it. I purchased a Release 10.0 x64 DVD from a reputable vendor, and could not get the SHA256 sum to match. So I burned my own under Linux and got the same issue. It seems that the .ISO file contains 150 blank blocks at the end:
Results in 1213264 blocks, SHA256 35ae65f...
Results in 1213103 blocks, SHA256 sum b2d9b6a...
Results in 1213253 blocks, correct SHA256 sum b0f25...
How common is it to post a release containing empty blocks and to include them in the checksum?
This is more for the benefit of others who may encounter it. I purchased a Release 10.0 x64 DVD from a reputable vendor, and could not get the SHA256 sum to match. So I burned my own under Linux and got the same issue. It seems that the .ISO file contains 150 blank blocks at the end:
Code:
$ wc -c FreeBSD-10.0-RELEASE-amd64-dvd1.iso
2484742144 FreeBSD-10.0-RELEASE-amd64-dvd1.iso
$ #2484742144 / 2048 = 1213253
$ isosize FreeBSD-10.0-RELEASE-amd64-dvd1.iso
2484434944
$ #2484464944 / 2048 = 1213103
$ od -j 2484434944 FreeBSD-10.0-RELEASE-amd64-dvd1.iso
$ #(Indicates all zeros)
# dd if=/dev/cdrom of=freebsd_dvd_plain.iso
Results in 1213264 blocks, SHA256 35ae65f...
# dd if=/dev/cdrom of=freebsd_dvd_isosize.iso bs=2048 count=1213103
Results in 1213103 blocks, SHA256 sum b2d9b6a...
# dd if=/dev/cdrom of=freebsd_dvd_filesize.iso bs=2048 count=1213253
Results in 1213253 blocks, correct SHA256 sum b0f25...
How common is it to post a release containing empty blocks and to include them in the checksum?