Re: About the CLI of both grub-mkrescue versions

2014-11-29 Thread Thomas Schmitt
Hi, Vladimir Serbinenko: > I think that old parser is better. The only reason the change happened > is that it's a bug that sneaked in during migration to C. It should be > fixed. Andrei Borzenkov: > [...] Nor do I actually like "pass anything you > do not understand" - it has potential to break

Re: About the CLI of both grub-mkrescue versions

2014-11-28 Thread Andrei Borzenkov
В Fri, 28 Nov 2014 21:41:03 +0200 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 01.10.2014 10:25, Thomas Schmitt wrote: > > Hi, > > > > to substantiate my proposal of renaming young grub-mkrescue.c to > > grub-mkiso.c and to add a built-in emulation of grub-mkrescue(.in), > > here the necess

Re: About the CLI of both grub-mkrescue versions

2014-11-28 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 01.10.2014 10:25, Thomas Schmitt wrote: > Hi, > > to substantiate my proposal of renaming young grub-mkrescue.c to > grub-mkiso.c and to add a built-in emulation of grub-mkrescue(.in), > here the necessary code which i tested standalone with valgrind. > > The decision which parser to use would

Re: About the CLI of both grub-mkrescue versions

2014-10-10 Thread Thomas Schmitt
Hi, > Well, below is much more simple patch which is reusing argp > infrastructure. The only problem - it needs small patch for gnulib > otherwise --help does not work. IMHO this is a bug in gnulib. If you > convince them to fix it ... Me ? I cannot even convince you or Vladimir :)) I understand

Re: About the CLI of both grub-mkrescue versions

2014-10-10 Thread Andrei Borzenkov
В Wed, 01 Oct 2014 09:25:12 +0200 "Thomas Schmitt" пишет: > Hi, > > to substantiate my proposal of renaming young grub-mkrescue.c to > grub-mkiso.c and to add a built-in emulation of grub-mkrescue(.in), > here the necessary code which i tested standalone with valgrind. Well, below is much more

Re: About the CLI of both grub-mkrescue versions

2014-10-01 Thread Thomas Schmitt
Hi, to substantiate my proposal of renaming young grub-mkrescue.c to grub-mkiso.c and to add a built-in emulation of grub-mkrescue(.in), here the necessary code which i tested standalone with valgrind. The decision which parser to use would be made in main():

Re: About the CLI of both grub-mkrescue versions

2014-09-29 Thread Thomas Schmitt
Hi, me: > > grub-mkiso.c Andrei Borzenkov: > What's the point of having to maintain two versions instead of one? Well, as stated: > > This would avoid to bother scripting users of grub-mkrescue > > or maintainers of things like > > http://www.unix.com/man-page/linux/1/GRUB-MKRESCUE/ Besides

Re: About the CLI of both grub-mkrescue versions

2014-09-28 Thread Andrei Borzenkov
On Sun, Sep 28, 2014 at 10:28 PM, Thomas Schmitt wrote: > Hi, > > how about this: > > - > > The C program gets renamed to grub-mkiso.c. The binary gets > installed under two names: grub-mkiso and grub-mkrescue. > > If started as "grub

Re: About the CLI of both grub-mkrescue versions

2014-09-28 Thread Thomas Schmitt
Hi, how about this: - The C program gets renamed to grub-mkiso.c. The binary gets installed under two names: grub-mkiso and grub-mkrescue. If started as "grub-mkiso" the program implements the change in the CLI. I.e. "--" marks the

Re: About the CLI of both grub-mkrescue versions

2014-09-28 Thread Thomas Schmitt
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

Re: About the CLI of both grub-mkrescue versions

2014-09-28 Thread Andrei Borzenkov
В Tue, 23 Sep 2014 10:12:12 +0200 "Thomas Schmitt" пишет: > Hi, > > i recently advertised grub-mkrescue as replacement of > script snippets for creating ISO images with legacy GRUB. > > But it is not very appealing to the audience if i have > to mention the different interpretation of argument

About the CLI of both grub-mkrescue versions

2014-09-23 Thread Thomas Schmitt
Hi, i recently advertised grub-mkrescue as replacement of script snippets for creating ISO images with legacy GRUB. But it is not very appealing to the audience if i have to mention the different interpretation of argument "--" by the shell script of GRUB-2.00 and by the C program of the git mast