aboutsummaryrefslogtreecommitdiffstats
path: root/com32/chain/partiter.h
diff options
context:
space:
mode:
authorMichal Soltys <soltys@ziu.info>2013-02-14 16:51:46 +0100
committerMichal Soltys <soltys@ziu.info>2013-02-14 16:53:05 +0100
commitc3e12b67d34fbf0efaae33c8b0867ccceb7c5949 (patch)
tree32890270f195cea82ed3da71c3ff0cbe3a74d863 /com32/chain/partiter.h
parent907de25858cbfad5807a127fe815ff075b6e4ab3 (diff)
downloadsyslinux-c3e12b67d34fbf0efaae33c8b0867ccceb7c5949.tar.gz
syslinux-c3e12b67d34fbf0efaae33c8b0867ccceb7c5949.tar.xz
syslinux-c3e12b67d34fbf0efaae33c8b0867ccceb7c5949.zip
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>
Diffstat (limited to 'com32/chain/partiter.h')
-rw-r--r--com32/chain/partiter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/com32/chain/partiter.h b/com32/chain/partiter.h
index 63dc6dac..a737584e 100644
--- a/com32/chain/partiter.h
+++ b/com32/chain/partiter.h
@@ -47,6 +47,7 @@ enum {PI_OK, PI_DONE, PI_INSANE, PI_ERRLOAD};
/* flags */
#define PIF_STEPALL 0x01
+#define PIF_RELAX 0x02
struct itertype;
struct part_iter;