[syslinux] chain module updates

Michal Soltys soltys at ziu.info
Wed Aug 1 03:08:38 PDT 2012


This is a set of few chain post-merge patches - mostly revolving around simple
adjustments, though a few are somewhat larger and/or introducing new features
(nothing particularly complex though).

Fetch details at the bottom. I didn't spam the list with mass of mostly banal
patches, though of course I can send them any moment if necessary.


Summary of a few more important ones:

- com32/chain: partiter - simplifications and updates

Following brief off-list discussion - this simplifies overkill generalizations,
so the code should be easier to follow and modify.

- com32/chain: make 'fixchs' and 'hide' options respect 'save'

To make the behavior consistent with sector saving. ITOW, writing back is
allowed only and only if save is set - which must be explicitly requested by
the user.

- com32/chain: implement relax flag (PIF_RELAX)

This tones down sanity checks, which should allow operation in some corner
cases (such as moving disks between different machines reporting different
disk sizes, or paritally botched partition tables).

- com32/chain: implement handling of non-standard hybrid GPT+MBR layouts

This recognizes disks with both layouts at the same time, and introduces
'prefmbr' flag to force the use of MBR layout in case GPT is present.

- com32/chain: recognize exFAT

This makes chain exFAT aware by adding yet another "BPB" variation with the
usual stuff (partition offset - now 64bit, drive).

- com32/chain: manglepe_fixchs() correction

Previously fixchs also included start/length 0/0 entries (holes), so this patch
makes it a bit more careful.

- com32/chain: update licenses

Also following brief off-list discussion - license cleanup, though I'm not sure
if it's the proper selection.

- utils/isohybrid: use ULL suffix in 64bit constants

This is of course unreleated to chain. Trivial update to avoid "integer
constant is too large".





The following changes since commit 0a0e0e41cad93cd16c323cf16f40264a21eedd6c:

  Correct initialization of the cache doubly-linked list (2012-07-19 07:29:55 -0700)

are available in the git repository at:

  git://git.hasevolq.net/syslinux.git chain_update

for you to fetch changes up to 41696e836bae5886527a484d774b2cfe5fa6b843:

  com32/chain: partiter: rename start_lba (2012-08-01 00:25:54 +0200)

----------------------------------------------------------------
Michal Soltys (23):
      utils/isohybrid: use ULL suffix in 64bit constants
      com32/chain: update licenses
      com32/chain: comments, minor adjustments
      com32/chain: use anonymous and unnamed aggregates
      com32/chain: change stepall into flags
      com32/chain: partiter - simplifications and updates
      com32/chain: remove redundant rawindex
      com32/chain: partiter - more precise comments / output
      com32/chain: remove unused ebr_start
      com32/chain: add pi_errored() in partiter
      com32/chain: mangle and related updates
      com32/chain: cleaner variable names
      com32/chain: use disk_guid for part_guid for 0th partition
      com32/chain: warning/error/help/doc tidying
      com32/chain: make 'fixchs' and 'hide' options respect 'save'
      com32/chain: implement relax flag (PIF_RELAX)
      com32/chain: implement handling of non-standard hybrid GPT+MBR layouts
      com32/chain: recognize exFAT
      com32/chain: remove common.h
      com32/chain: rely more on addr_t, replace ADDR*
      com32/chain: index -1 partiter adjustment
      com32/chain: manglepe_fixchs() correction
      com32/chain: partiter: rename start_lba

 com32/chain/Makefile   |    6 +-
 com32/chain/chain.c    |  139 ++++++-----
 com32/chain/chain.h    |   15 ++
 com32/chain/common.h   |    9 -
 com32/chain/mangle.c   |  221 ++++++++++++------
 com32/chain/mangle.h   |   30 +++
 com32/chain/options.c  |  231 ++++++++++--------
 com32/chain/options.h  |   49 +++-
 com32/chain/partiter.c |  608 ++++++++++++++++++------------------------------
 com32/chain/partiter.h |   85 ++++---
 com32/chain/utility.c  |   85 +++++--
 com32/chain/utility.h  |   67 +++++-
 doc/chain.txt          |   57 +++--
 utils/isohybrid.c      |   10 +-
 14 files changed, 887 insertions(+), 725 deletions(-)
 delete mode 100644 com32/chain/common.h



More information about the Syslinux mailing list