From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1W3peI-0002KA-Ff for mharc-grub-devel@gnu.org; Thu, 16 Jan 2014 11:18:30 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3peA-0002J5-NJ for grub-devel@gnu.org; Thu, 16 Jan 2014 11:18:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3pe4-00066I-S1 for grub-devel@gnu.org; Thu, 16 Jan 2014 11:18:22 -0500 Received: from mout.gmx.net ([212.227.17.20]:56853) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3pe4-00066D-Iq for grub-devel@gnu.org; Thu, 16 Jan 2014 11:18:16 -0500 Received: from scdbackup.webframe.org ([87.167.175.77]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0M9eHT-1WCOV61kER-00CzWt for ; Thu, 16 Jan 2014 17:18:15 +0100 Date: Thu, 16 Jan 2014 17:17:03 +0100 From: "Thomas Schmitt" To: grub-devel@gnu.org Subject: Re: grub-shell: Pass -no-pad to xorriso when building floppy images Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <20140116145347.GA28616@riva.ucam.org> In-Reply-To: <20140116145347.GA28616@riva.ucam.org> Message-Id: <280626457381791014728@scdbackup.webframe.org> X-Provags-ID: V03:K0:3siBKFeICZjFhm0zdX113FVi8lQ2TeZi4oG21e0HaBZ0bjqeIRj aIa2apNrYCUNM39CAxb19AtnUgupjN4xtr6kv/C//tHUyg6LlFeAyhijk+X+7rfB7ZZ4c/P yLNxzCW3Q+fQmozMHkDj3VCopBQvTjknvEJssa2LAzWobqyNX9ngXtS8gsNliloG0qEu6+2 lKiSa+1+FRO7RHBChJZ2Q== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.20 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jan 2014 16:18:28 -0000 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