From: "Thomas Schmitt" <scdbackup@gmx.net>
To: grub-devel@gnu.org
Subject: Re: Migrations to xorriso
Date: Thu, 20 May 2010 08:31:50 +0200 [thread overview]
Message-ID: <106233764226982@192.168.2.69> (raw)
In-Reply-To: <4BF456E0.8090009@gmail.com>
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
next prev parent reply other threads:[~2010-05-20 10:20 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-17 21:33 Migrations to xorriso Vladimir 'φ-coder/phcoder' Serbinenko
2010-05-18 8:49 ` Thomas Schmitt
2010-05-18 12:50 ` Thomas Schmitt
2010-05-19 19:45 ` Thomas Schmitt
2010-05-19 21:23 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-05-20 6:31 ` Thomas Schmitt [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-05-19 12:01 Thomas Schmitt
2010-05-19 12:13 ` Colin Watson
2010-05-19 13:23 ` Thomas Schmitt
2010-05-19 21:02 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-05-19 18:40 ` Isaac Dupree
2010-05-19 19:34 ` Thomas Schmitt
2010-05-19 21:10 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-05-19 21:35 ` Seth Goldberg
2010-05-19 21:00 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-05-20 9:30 Thomas Schmitt
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=106233764226982@192.168.2.69 \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.