How this works
Useful when writing raw images with dd (its seek=/skip= options are in block-size units, not bytes) or when reading a partition table's LBA start values and needing the actual byte offset into the device or image file.
Convert sector number to byte offset, or byte offset to sector number (512-byte sectors by default).
Useful when writing raw images with dd (its seek=/skip= options are in block-size units, not bytes) or when reading a partition table's LBA start values and needing the actual byte offset into the device or image file.