mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Daniel Phillips <phillips@bonn-fries.net>
To: Andreas Dilger <adilger@turbolabs.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>,
	Alexander Viro <viro@math.psu.edu>,
	"Eric W. Biederman" <ebiederm@xmission.com>,
	linux-kernel@vger.kernel.org
Subject: Re: initramfs buffer spec -- second draft
Date: Wed, 16 Jan 2002 00:09:10 +0100	[thread overview]
Message-ID: <E16Qcha-0001lF-00@starship.berlin> (raw)
In-Reply-To: <Pine.GSO.4.21.0201131536480.27390-100000@weyl.math.psu.edu> <E16Qa0W-0001kH-00@starship.berlin> <20020115140436.L11251@lynx.adilger.int>
In-Reply-To: <20020115140436.L11251@lynx.adilger.int>

On January 15, 2002 10:04 pm, Andreas Dilger wrote:
> On Jan 15, 2002  21:16 +0100, Daniel Phillips wrote:
> > On January 15, 2002 09:03 pm, H. Peter Anvin wrote:
> > > Daniel Phillips wrote:
> > > > Encoding the numeric fields in ASCII/hex is a goofy wart on an otherwise
> > > > nice  design.  What is the compelling reason?  Bytesex isn't it: we
> > > > should just pick one or the other and stick with it as we do in Ext2.
> > > > 
> > > > Why don't we fix cpio to write a consistent bytesex?
> > > 
> > > Because we want to use existing tools.
> > 
> > It's a mistake not to fix this tool.  I'll post the cost in terms of bytes
> > wasted shortly, pretty tough to argue with that, right?
> 
> Well, I doubt the difference will be more than a few bytes, if you compare
> the cpio archive sizes after compression with gzip.

Coming soon...

Side note: I have a hard time understanding the dual thinking that goes
something like: "we have to save every nanosecond of CPU but wasting disk is
ok because, um, disk is cheap, and everybody has more than they need anyway,
and reading it takes zero time and oh yes, everybody has disks, don't they?"

> > > I don't think think this application alone is enough to add Yet Another 
> > > Version of CPIO.  However, if there are more compelling reasons to do so 
> > >   for CPIO backup reasons itself I guess we could write it up and add it 
> > > to GNU cpio as "linux" format...
> > 
> > Oh, it is, really it is.  It's not just any application, and GNU already
> > has its own verion of cpio.
> 
> But then every person who wants to build a kernel will have to have
> the patched version of cpio until such a time it is part of the standard
> cpio tool...

If we go with little-endian then only big-endian architectures will need
the patch, and they tend to need patches for lots of things anyway.  Or
if you like I'll write a little utility that goes through the file and
byteswaps all the int fields.

> (which may be "never").  I would much rather use the currently
> available tools than save 20 bytes off a 900kB kernel image.

What if it's more than 20 bytes?

--
Daniel

  reply	other threads:[~2002-01-15 23:06 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-12  8:04 H. Peter Anvin
2002-01-13 19:43 ` Daniel Phillips
2002-01-13 20:08   ` H. Peter Anvin
2002-01-13 19:53 ` Eric W. Biederman
2002-01-13 20:11   ` H. Peter Anvin
2002-01-13 20:58     ` Eric W. Biederman
2002-01-13 21:59       ` Alexander Viro
2002-01-13 22:35         ` Eric W. Biederman
2002-01-13 20:39   ` Alexander Viro
2002-01-15  6:34     ` Daniel Phillips
2002-01-16 19:19       ` [offtopic] duplicate mails (was: initramfs buffer spec -- second draft) Daniel Phillips
2002-01-15  6:34     ` initramfs buffer spec -- second draft Daniel Phillips
2002-01-15  6:54     ` Daniel Phillips
2002-01-16 20:40       ` Bill Davidsen
2002-01-15 15:15     ` Daniel Phillips
2002-01-15 20:03       ` H. Peter Anvin
2002-01-15 20:16         ` Daniel Phillips
2002-01-15 20:14           ` H. Peter Anvin
2002-01-15 23:01             ` Daniel Phillips
2002-01-15 23:47               ` H. Peter Anvin
2002-01-15 21:04           ` Andreas Dilger
2002-01-15 23:09             ` Daniel Phillips [this message]
2002-01-15 23:48               ` H. Peter Anvin
2002-01-15 23:59               ` Andreas Dilger
2002-01-16  0:29                 ` H. Peter Anvin
2002-01-16  3:33                 ` H. Peter Anvin
2002-01-16  3:25           ` Alexander Viro
2002-01-14 18:31   ` Kai Henningsen
2002-01-15  0:26     ` H. Peter Anvin
2002-01-16  2:43   ` Aaron Lehmann
     [not found] <200201120804.AAA19339@cesium.transmeta.com>
2002-01-13  2:00 ` Alexander Viro
2002-01-13  2:17   ` H. Peter Anvin
2002-01-13  4:11     ` Alexander Viro
2002-01-13 19:55   ` Eric W. Biederman

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=E16Qcha-0001lF-00@starship.berlin \
    --to=phillips@bonn-fries.net \
    --cc=adilger@turbolabs.com \
    --cc=ebiederm@xmission.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=viro@math.psu.edu \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®