From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1XYHjl-0000xr-CB for mharc-grub-devel@gnu.org; Sun, 28 Sep 2014 12:54:17 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYHjc-0000xF-LI for grub-devel@gnu.org; Sun, 28 Sep 2014 12:54:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYHjU-0006tV-Qe for grub-devel@gnu.org; Sun, 28 Sep 2014 12:54:08 -0400 Received: from mout.gmx.net ([212.227.15.18]:52570) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYHjU-0006sL-Gs for grub-devel@gnu.org; Sun, 28 Sep 2014 12:54:00 -0400 Received: from scdbackup.webframe.org ([87.167.145.87]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0Lb5nF-1Xwqu83aLR-00kk8X for ; Sun, 28 Sep 2014 18:53:53 +0200 Date: Sun, 28 Sep 2014 18:52:55 +0200 From: "Thomas Schmitt" To: grub-devel@gnu.org Subject: Re: About the CLI of both grub-mkrescue versions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <20140928201749.3b92c870@opensuse.site> In-Reply-To: <20140928201749.3b92c870@opensuse.site> Message-Id: <18490546117595467817@scdbackup.webframe.org> X-Provags-ID: V03:K0:0dz7LKYdOh3jjTYlsK6ld0jXXO2F7WHEi01Be4qqq2A5HnQvER/ dXBHWwYKb+ZDMPFoSO3voBkhqutYBOpTq7QfQoecmgGFcG2XMJMRcagryCFMnWoOdHqM8r/ QwqZ3Z6QRHt6e/YRDLrlC2dUvdJnnT0ODUDqOjQv7nsPqQafav/5NkPVVLAdva//SX+cgrG Z3Wwwc8sedZszhYPVJ/Xw== X-UI-Out-Filterresults: notjunk:1; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.15.18 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: Sun, 28 Sep 2014 16:54:16 -0000 Hi, Andrei Borzenkov wrote: > Care to send a patch for both help output and documentation? First one should decide whether the incompatible CLI change is really intentional. If the change is intentional, there should be some assistance to those people who based their scripts on the old behavior. A decision would be needed about the desired grade of assistance. me: > > In my personal view, it would be better to keep the behavior of > > GRUB-2.00. E.g. by replacing in grub-mkrescue.c line 229 > > return ARGP_ERR_UNKNOWN; > > by a call of xorriso_push() ... i guess ... Andrei Borzenkov wrote: > It won't work. Unknown options are detected before user parser is > called; user parser never sees them. I see. If the change is not intentional, then an own parser would be needed. More or less what the shell code of old grub-mkrescue does. Not an overly demanding task. Don't get me wrong. I will support what gets decided. If new features are needed in xorriso: no problem, just ask for them. Nevertheless, the current state of the change is inconsistent. Implementation and documentation contradict. The most recent statement known to me from Vladimir indicated that he was still undecided, back then. I posted here because i encountered a legacy script which equips a Linux distro by either GRUB-legacy or by ISOLINUX 4. The ISOLINUX part is easy to update to version 5 or 6. Just one more file to copy into the /isolinux directory. The legacy GRUB part needs a total re-implementation on base of grub-mkrescue. This is already quite an obstacle. But telling people that this work will have to be adapted in the foreseeable future to an incomptible CLI change ... Have a nice day :) Thomas