[Vm-dev] Packaging 64-bit and 32-bit linux VMs
K K Subbu
kksubbu.ml at gmail.com
Thu May 17 11:44:15 UTC 2018
On Wednesday 16 May 2018 11:55 PM, Eliot Miranda wrote:
> IMVER=`hexdump -n 4 -e '"%u\n"' "$IMAGE"`
od may be a better choice as it can handle endianness too. E.g.
$ od -A n -t u4 -N 4 --endian=little squeak.image
6521
$ od -A n -t u4 -N 4 --endian=big squeak.image
2031681536
The magic numbers may also be offset 512 bytes into the file:
$ od -j 512 .......
Regards .. Subbu
More information about the Vm-dev
mailing list