[syslinux] [PATCH 8/8] libinstaller/syslxopt.c: update the help text.
Ady
ady-sf at hotmail.com
Wed Dec 24 04:10:18 PST 2014
> We support both device and directory as the target now.
>
> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
> ---
> libinstaller/syslxopt.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libinstaller/syslxopt.c b/libinstaller/syslxopt.c
> index 3fc5519..d06719f 100644
> --- a/libinstaller/syslxopt.c
> +++ b/libinstaller/syslxopt.c
> @@ -88,7 +88,7 @@ void __attribute__ ((noreturn)) usage(int rv, enum syslinux_mode mode)
> /* Mounted fs installation (extlinux) */
> /* Actually extlinux can also use -d to provide a directory too... */
> fprintf(stderr,
> - "Usage: %s [options] directory\n"
> + "Usage: %s [options] <directory|device>\n"
> " --device Force use of a specific block device (experts only)\n",
> program);
> break;
> --
> 1.9.1
>
> _______________________________________________
> Syslinux mailing list
> Submissions to Syslinux at zytor.com
> Unsubscribe or set options at:
> http://www.zytor.com/mailman/listinfo/syslinux
>
I would rather see extN support included in the 'syslinux' command(s),
but if this feature is added to the 'extlinux' command as proposed in
this series of patches, then the resulting usage would need to be more
accurate. For example, something *similar* to:
Usage: [options] directory
Usage for ext2/3/4 only: [options] <directory|device>
To be clear, the resulting output would need to be (at least) 2
different rows, instead of a generic uniform usage output. In case
different capabilities per supported filesystem are added in the
future, then more details would need to be added to the usage output,
accordingly.
Again, I would much rather see extN support added to the 'syslinux'
command(s), instead of messing with the uniformity of the 'extlinux'
installer.
TIA,
Ady.
More information about the Syslinux
mailing list