chain: implement strict=<0|1|2>
commitd31b445735d186cec01df71c6db2c32c103e9835
authorMichal Soltys <soltys@ziu.info>
Sun, 29 Jun 2014 19:41:42 +0000 (29 21:41 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 27 Aug 2014 01:07:19 +0000 (26 18:07 -0700)
tree262828c6e13b554367efdc64fc649d290c186256
parent68e8acb564a1b0e591d73edb912aa703c54ba2df
chain: implement strict=<0|1|2>

This provides more fine grained control than single relax flag. to cover
case with wrong disk sizes.

relax and nostrict are equivalent to strict=0
norelax and strict are equivalent to strict=2

strict=1 does the same as strict=2, but ignores checks against disk size

The current default is strict=1. Options: 'fixchs', '[un]hide[all]' and
'save' will forcibly enable strict=2 (can be overridden by the user).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/chain/mangle.c
com32/chain/options.c
com32/chain/partiter.c
com32/chain/partiter.h
doc/chain.txt