[syslinux] raid long option
Ady
ady-sf at hotmail.com
Sat Dec 27 22:03:00 PST 2014
In Syslinux 6.03 -> libinstaller/syslxopt.c:
#n 50: const struct option long_options[] = {
...
#n 60: {"raid-mode", 0, NULL, 'r'},
...
#n105: fprintf(stderr,
...
#n112: " --raid -r Fall back to the next device on boot failure\n"
Comparing line #60 vs. line #112:
http://git.kernel.org/cgit/boot/syslinux/syslinux.git/tree/libinstaller/syslxopt.c?id=syslinux-6.03#n60
http://git.kernel.org/cgit/boot/syslinux/syslinux.git/tree/libinstaller/syslxopt.c?id=syslinux-6.03#n112
Which one is the correct "long" option for users to type in?
Is it "--raid-mode", or "--raid"?
FWIW, I have always seen "--raid" in user's documentation
(wiki, manpages, text docs...), but the "--raid-mode" term
has been present for a long time (e.g. v.3.86 in a different
source code file, probably prior versions too).
TIA,
Ady.
More information about the Syslinux
mailing list