aboutsummaryrefslogtreecommitdiffstats
path: root/com32/chain/partiter.h
diff options
context:
space:
mode:
authorMichal Soltys <soltys@ziu.info>2014-06-29 21:41:42 +0200
committerH. Peter Anvin <hpa@zytor.com>2014-08-26 18:07:19 -0700
commitd31b445735d186cec01df71c6db2c32c103e9835 (patch)
tree262828c6e13b554367efdc64fc649d290c186256 /com32/chain/partiter.h
parent68e8acb564a1b0e591d73edb912aa703c54ba2df (diff)
downloadsyslinux-d31b445735d186cec01df71c6db2c32c103e9835.tar.gz
syslinux-d31b445735d186cec01df71c6db2c32c103e9835.tar.xz
syslinux-d31b445735d186cec01df71c6db2c32c103e9835.zip
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>
Diffstat (limited to 'com32/chain/partiter.h')
-rw-r--r--com32/chain/partiter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/chain/partiter.h b/com32/chain/partiter.h
index d01a6500..22c0e42f 100644
--- a/com32/chain/partiter.h
+++ b/com32/chain/partiter.h
@@ -46,7 +46,7 @@ enum {PI_ERRLOAD = -31, PI_INSANE, PI_OK = 0, PI_DONE};
/* flags */
-enum {PIF_STEPALL = 1, PIF_RELAX = 2, PIF_PREFMBR = 4};
+enum {PIF_STEPALL = 1, PIF_PREFMBR = 2, PIF_STRICT = 4, PIF_STRICTER = 8};
struct itertype;
struct part_iter;