[syslinux] [PATCH 00/05] Mending for mkdiskimage

Thomas Schmitt scdbackup at gmx.net
Thu Jan 30 12:54:00 PST 2014


Hi,

following is a series of patches derived from my proposed diff.
Based on syslinux-6.03-pre1, but should also apply down to 4.xx.

I hope to have imitated the changelog style sufficiently.
Mine are a bit longer than usual with patches in the archive, i fear.
Instructions for the future are welcome.

Each intermediate state is tested for its designated purpose only.
The final state after applying all patches is tested with various
options, suitable and unsuitable file types of various sizes.

----------------------------------------------------------------

I will think about another patch for an option which zeroizes
the whole device even if the partition size is given explicitely
and matches a cylinder end. (mkdiskimage_05.patch only zeroizes
a known incomplete cylinder after the partition end.)

Although mkdiskimage should be suitable now for USB sticks
on unix-like systems beyond Linux, i still have no clue about
USB sticks at NT/2K/XP/DOS systems.
There is hope that the sysseek() method of size determination
will work with a suitable file object. If only it has an address
for sysopen().


Have a nice day :)

Thomas



More information about the Syslinux mailing list