From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OF2rl-0005vr-Gz for mharc-grub-devel@gnu.org; Thu, 20 May 2010 06:20:37 -0400 Received: from [140.186.70.92] (port=48995 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OF2rh-0005u7-Fe for grub-devel@gnu.org; Thu, 20 May 2010 06:20:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OF2rf-0003M2-HG for grub-devel@gnu.org; Thu, 20 May 2010 06:20:33 -0400 Received: from mail.gmx.net ([213.165.64.20]:43629) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OEzJ2-000315-SH for grub-devel@gnu.org; Thu, 20 May 2010 02:32:33 -0400 Received: (qmail invoked by alias); 20 May 2010 06:32:26 -0000 Received: from 165.126.46.212.adsl.ncore.de (HELO 192.168.2.69) [212.46.126.165] by mail.gmx.net (mp041) with SMTP; 20 May 2010 08:32:26 +0200 X-Authenticated: #2145628 X-Provags-ID: V01U2FsdGVkX1/wbzA0IRnwX9F5GyKPzduuFVqn74jLlTOd3oZLN1 NK9Oks4+2VhSNn Date: Thu, 20 May 2010 08:31:50 +0200 From: "Thomas Schmitt" To: grub-devel@gnu.org References: <4BF456E0.8090009@gmail.com> In-Reply-To: <4BF456E0.8090009@gmail.com> Message-Id: <106233764226982@192.168.2.69> X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: Migrations to xorriso X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 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, 20 May 2010 10:20:34 -0000 Hi, > I'm thinking to allow passing arbitrary options to xorriso by just > putting it on command line. > Do you recommend to switching to native xorriso interface? There are differences how file names without "=" are handled. xorriso maps /my/dir to /my/dir. xorriso -as mkisofs maps /my/dir to /dir. Since i expect scripts to operate grub-mkrescue, i would be cautious with this change. Lifting the ban on -*) would allow the user to switch to xorriso CLI by giving argument "--". grub-mkrescue would just have to put any unknown argument into ${source}. E.g. grub-mkrescue \ --output=result.iso \ -no-pad /my/os /my/payload \ -- \ -set_filter_r --zisofs /payload -- (I imagine that /os would be able to read the zisofs compressed /payload after booting.) > This size saving matters only for floppies. > Perhaps we should add an > option --pcfloppy which will additionally > disable all other platforms. Sounds like a good idea. > Also I find the way of configuring with "| cat >" quite ugly. Is there a > reason not to have an option for this behaviour? It happens automatically deep under xorriso. xorriso sees the output file as libburn drive. libburn recognizes the file type and chooses an appropriate drive model: overwriteable or sequential. xorriso then reacts on this choice. I could introduce an option. But one would then have to wait for the next xorriso release to become available in Debian. So for now it seems better to use cat, if a thorough diet is desired. > > internationalization > [...] gettext [...] > But the hic is if xorriso uses any like > printf("Device %s is %s.", devname, valid ? "valid" : "invalid"); I would have to review the code for this. xorriso -report_about HINT will not issue much entertaining messages anyway. (In general i believe it helps world peace if everybody learns some english.) Seth Goldberg wrote: > Solaris uses a ISO9660 filesystem image with individual > compressed files, [...] > The value to grub2, though, is unknown. Compression seems appealing for CD images with large payload or for old USB sticks. Since the files of GRUB are small, one can restrict compression to the other files of the image, so that GRUB is not affected. zisofs has the advantage to allow random access inside the compressed files. User space does not have to be aware of it. I have even experienced better read speed on slow media. The compression ratio is slightly inferior to plain gzip, though. Have a nice day :) Thomas