From: Andrew Clausen <clausen@gnu.org>
To: Christoph Hellwig <hch@caldera.de>,
linux-kernel@vger.kernel.org, bug-parted@gnu.org,
evms-devel@lists.sourceforge.net
Subject: Re: [Evms-devel] userspace discovery of partitions
Date: Thu, 3 Jan 2002 07:37:38 +1100 [thread overview]
Message-ID: <20020103073738.D922@gnu.org> (raw)
In-Reply-To: <20020102055735.C472@gnu.org> <20020102203438.A18445@caldera.de>
In-Reply-To: <20020102203438.A18445@caldera.de>; from hch@caldera.de on Wed, Jan 02, 2002 at 08:34:38PM +0100
On Wed, Jan 02, 2002 at 08:34:38PM +0100, Christoph Hellwig wrote:
> On Wed, Jan 02, 2002 at 05:57:35AM +1100, Andrew Clausen wrote:
> > When partprobe/libparted are compiled with --enable-discover-only
> > --disable-nls etc (see README), it comes to about 73k (35k
> > compressed), not including libc or libuuid. Unfortunately, this is
> > still quite large to be including in things like initramfs. Is
> > it worth paying this price?
>
> Nope - I'd much prefer aeb's small partx for the same job :)
> In fact it can be cut down even more than the current version. which is
> 30k dynamically linked against glibc. In fact a striped down version
> wouldn't need a libc so this would be about the size.
If you compile with -Os, and run strip(1), it's 10112 bytes :)
(4868 gzipped). About 4k of that is common code.
There is probably enough stuff on an initramfs to warrant a dynamic
diet libc?
> It supports dos, solaris, unixware and bsd partitions so far.
It looks like a small amount of work to add support for others too.
I'm convinced now it's better to maintain both partx and libparted
implementations of partition code: one for discovery, one for
editing.
OTOH, the "small" version of libparted is still useful for the Hurd,
so I'll probably keep this small option for libparted.
Thanks for pointing it out :)
Andrew
prev parent reply other threads:[~2002-01-02 20:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-01 18:57 userspace discovery of partitions Andrew Clausen
2002-01-01 20:18 ` [Evms-devel] " Andreas Dilger
2002-01-02 0:18 ` Andrew Clausen
2002-01-02 19:34 ` Christoph Hellwig
2002-01-02 20:37 ` Andrew Clausen [this message]
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=20020103073738.D922@gnu.org \
--to=clausen@gnu.org \
--cc=bug-parted@gnu.org \
--cc=evms-devel@lists.sourceforge.net \
--cc=hch@caldera.de \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox