[syslinux] [PATCH] Proposal for a pacifier option with mkdiskimage

H. Peter Anvin hpa at zytor.com
Mon Jan 27 13:30:38 PST 2014


On 01/23/2014 08:47 AM, Thomas Schmitt wrote:
> Hi,
> 
> i too played with mkdiskimage in order to get more Linux examples.
> 
> When i applied it to a real 2 GB stick with write speed 4 MB/s
> i had enough time to add some pacifier code to the big zeroizer
> loop. (-s does not prevent zeroizing on block device. Probably
> because truncate() fails.)
> 

Yes, we should probably fix that.  The tool was originally designed for
images, not for hardware devices, and it doesn't make much sense to zero
the whole hardware device like that.

	-hpa



More information about the Syslinux mailing list