aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Soltys <soltys@ziu.info>2011-03-08 01:43:01 +0100
committerMichal Soltys <soltys@ziu.info>2011-03-08 01:43:01 +0100
commite63b3ed60d172ab751300bcf9b620bee33e92451 (patch)
treeac5ba197bcaa87c9ac72ab8d400bd691cb19bc49
parentc17f033db7c558530b4805dad29c4be3585eed60 (diff)
downloadsyslinux-e63b3ed60d172ab751300bcf9b620bee33e92451.tar.gz
syslinux-e63b3ed60d172ab751300bcf9b620bee33e92451.tar.xz
syslinux-e63b3ed60d172ab751300bcf9b620bee33e92451.zip
com32/chain: option rename: mbrchs -> fixchs
Signed-off-by: Michal Soltys <soltys@ziu.info>
-rw-r--r--com32/chain/mangle.c2
-rw-r--r--com32/chain/options.c10
-rw-r--r--com32/chain/options.h2
-rw-r--r--doc/chain.txt8
4 files changed, 11 insertions, 11 deletions
diff --git a/com32/chain/mangle.c b/com32/chain/mangle.c
index 1dea116d..0aece16c 100644
--- a/com32/chain/mangle.c
+++ b/com32/chain/mangle.c
@@ -577,7 +577,7 @@ int manglepe_fixchs(struct part_iter *miter)
struct disk_dos_part_entry *dp;
int ridx;
- if (!opt.mbrchs)
+ if (!opt.fixchs)
return 0;
if (miter->type != typedos) {
diff --git a/com32/chain/options.c b/com32/chain/options.c
index 18960628..7d850619 100644
--- a/com32/chain/options.c
+++ b/com32/chain/options.c
@@ -82,7 +82,7 @@ Usage:\n\
hideall Hide *all* partitions, unhide selected partition\n\
unhide Unhide primary partitions\n\
unhideall Unhide *all* partitions\n\
- nombrchs Walk *all* partitions and fix E/MBRs' chs values\n\
+ nofixchs Walk *all* partitions and fix E/MBRs' chs values\n\
nokeeppxe Keep the PXE and UNDI stacks in memory (PXELINUX)\n\
nowarn Wait for a keypress to continue chainloading\n\
- useful to see emited warnings\n\
@@ -277,10 +277,10 @@ int opt_parse_args(int argc, char *argv[])
opt.save = true;
} else if (!strcmp(argv[i], "nosave")) {
opt.save = false;
- } else if (!strcmp(argv[i], "mbrchs")) {
- opt.mbrchs = true;
- } else if (!strcmp(argv[i], "nombrchs")) {
- opt.mbrchs = false;
+ } else if (!strcmp(argv[i], "fixchs")) {
+ opt.fixchs = true;
+ } else if (!strcmp(argv[i], "nofixchs")) {
+ opt.fixchs = false;
} else if (!strcmp(argv[i], "warn")) {
opt.warn = true;
} else if (!strcmp(argv[i], "nowarn")) {
diff --git a/com32/chain/options.h b/com32/chain/options.h
index 17c6a739..2e60f2c5 100644
--- a/com32/chain/options.h
+++ b/com32/chain/options.h
@@ -30,7 +30,7 @@ struct options {
bool bss;
bool setbpb;
bool filebpb;
- bool mbrchs;
+ bool fixchs;
bool warn;
bool chain;
uint16_t keeppxe;
diff --git a/doc/chain.txt b/doc/chain.txt
index 26243100..66615bbb 100644
--- a/doc/chain.txt
+++ b/doc/chain.txt
@@ -45,7 +45,7 @@ or
This is useful for invocations such as:
chain.c32 hdN M setbpb save nochain
-chain.c32 hdN mbrchs nochain
+chain.c32 hdN fixchs nochain
chain.c32 hdN unhideall nochain
Please see respective options for more details.
@@ -207,8 +207,8 @@ one we're booting from. Hiding is performed only on the selected drive. Options
starting with 'un' will simply unhide every partition (primary ones or all).
Writing is only performed, if the os type values actually changed.
- mbrchs
- *nombrchs
+ fixchs
+ *nofixchs
If you want to make a drive you're booting from totally compatible with current
BIOS, you can use this to fix all partitions' CHS numbers. Good to silence e.g.
@@ -239,7 +239,7 @@ everything requested as usual, but it will not perform the actual chainloading.
'nochain' option disables handover, file loading and sector mapping, as these
are pointless in such scenario (although file might be reenabled in some future
version, if writing to actual files becomes possible). Mainly useful for
-options 'mbrchs', '[un]hide[all]' and setbpb.
+options 'fixchs', '[un]hide[all]' and setbpb.
isolinux=<file>
sets: file=<file> nohand nosect isolinux