com32/chain: implement relax flag
commitc3e12b67d34fbf0efaae33c8b0867ccceb7c5949
authorMichal Soltys <soltys@ziu.info>
Thu, 14 Feb 2013 15:51:46 +0000 (14 16:51 +0100)
committerMichal Soltys <soltys@ziu.info>
Thu, 14 Feb 2013 15:53:05 +0000 (14 16:53 +0100)
tree32890270f195cea82ed3da71c3ff0cbe3a74d863
parent907de25858cbfad5807a127fe815ff075b6e4ab3
com32/chain: implement relax flag

This flag tones down sanity checks during partition iteration.
This is useful in situations such as:

- inconsistent layouts, but with some partition still in sane bootable state
- usb sticks/disks moved between different PCs might return different
  size, which might cause problems if the partitions span the whole disk

Signed-off-by: Michal Soltys <soltys@ziu.info>
com32/chain/chain.c
com32/chain/mangle.c
com32/chain/options.c
com32/chain/options.h
com32/chain/partiter.c
com32/chain/partiter.h
doc/chain.txt