[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Evms-devel] userspace discovery of partitions

From: Andrew Clausen
Subject: Re: [Evms-devel] userspace discovery of partitions
Date: Thu, 3 Jan 2002 07:37:38 +1100
User-agent: Mutt/1.2.5i

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

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 :)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]