From: "Thomas Schmitt" <scdbackup@gmx.net>
To: grub-devel@gnu.org
Subject: Re: grub-shell: Pass -no-pad to xorriso when building floppy images
Date: Thu, 16 Jan 2014 17:17:03 +0100 [thread overview]
Message-ID: <280626457381791014728@scdbackup.webframe.org> (raw)
In-Reply-To: <20140116145347.GA28616@riva.ucam.org>
Hi,
> > mkrescue_args="${mkrescue_args} -no-pad"
> This doesn't work for me:
> ./grub-mkrescue: invalid option -- 'n'
So the documentation seems not to match the implementation.
http://git.savannah.gnu.org/cgit/grub.git/tree/docs/grub.texi
"All arguments not explicitly listed as @command{grub-mkrescue} options are
passed on directly to @command{xorriso} in @command{mkisofs} emulation mode.
Options passed to @command{xorriso} will normally be interpreted as
@command{mkisofs} options; if the option @samp{--} is used, then anything
after that will be interpreted as native @command{xorriso} options."
But you seem to experience that "--" ends grub-mkrescue options
and begins xorriso -as mkisofs options.
Is this ./grub-mkrescue the binary of the new C program ?
http://git.savannah.gnu.org/cgit/grub.git/tree/util/grub-mkrescue.c
I am riddling over /grub-core/gnulib/argp-parse.c now, where
i see
/* The meta-argument used to prevent any further arguments being interpreted
as options. */
#define QUOTE "--"
Do i get it right that xorriso's default list delimiter and
the reserved argument QUOTE collide ?
The xorriso delimiter is user adjustable before the -as mkisofs
command. E.g.:
xorriso -list_delimiter +xorriso-native+ \
-as mkisofs ...
The instruction towards the user of grub-mkrescue for entering
the native command mode would then be to use argument
+xorriso-native+
and to choose a more convenient delimiter by the first native
command
list_delimiter -- ...actually.intended.native.commands...
This way the intended native commands can use the normal delimiter
as descibed in the man page of xorriso.
Have a nice day :)
Thomas
next prev parent reply other threads:[~2014-01-16 16:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-16 12:49 [PATCH] grub-shell: Pass -no-pad to xorriso when building floppy images Colin Watson
2014-01-16 14:05 ` Thomas Schmitt
2014-01-16 14:53 ` Colin Watson
2014-01-16 16:17 ` Thomas Schmitt [this message]
2014-01-16 16:28 ` Thomas Schmitt
2014-01-16 18:21 ` Andrey Borzenkov
2014-01-16 18:56 ` Thomas Schmitt
2014-01-16 19:13 ` Andrey Borzenkov
2014-01-16 19:43 ` Thomas Schmitt
2014-01-22 15:12 ` Vladimir 'φ-coder/phcoder' Serbinenko
2014-01-22 15:36 ` Thomas Schmitt
2014-01-25 16:27 ` Andrey Borzenkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=280626457381791014728@scdbackup.webframe.org \
--to=scdbackup@gmx.net \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).