public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@turbolabs.com>
To: Andrew Clausen <clausen@gnu.org>
Cc: linux-kernel@vger.kernel.org, bug-parted@gnu.org,
	evms-devel@lists.sourceforge.net
Subject: Re: [Evms-devel] userspace discovery of partitions
Date: Tue, 1 Jan 2002 13:18:17 -0700	[thread overview]
Message-ID: <20020101131817.J12868@lynx.no> (raw)
In-Reply-To: <20020102055735.C472@gnu.org>
In-Reply-To: <20020102055735.C472@gnu.org>; from clausen@gnu.org on Wed, Jan 02, 2002 at 05:57:35AM +1100

On Jan 02, 2002  05:57 +1100, Andrew Clausen wrote:
> As discussed a while ago (see thread starting at
> http://www.uwsg.iu.edu/hypermail/linux/kernel/0105.2/0659.html), I
> wrote a frontend to libparted that does nothing but probe all
> block devices for partition tables, and tells the kernel what
> partitions it finds.  It optionally prints a short summary.

This would mesh nicely with the filesystem (and other content) probing
tool/lib that I wrote, blkid.  It probes filesystem types (and also
label, uuid, fs size for common fs types).

> The hope is to be able to remove partition table parsing from the
> kernel, and share partition table code with libparted.
> 
> It's called partprobe, and is distributed with Parted.  Get it from:
> 
> 	ftp.gnu.org/gnu/parted/devel/parted-1.5.6-pre2.tar.gz
> 
> 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?

Hmm, it does seem a bit large for what it is doing.  Any idea where
the bloat is coming from?

My blkid lib is 34kB (uncompressed) and supports 23 filesystem types
(all that the current mount(8) has), although only a handful have full
LABEL and UUID support.  The user tool is 6.5kB and I also use libuuid.so.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/


  reply	other threads:[~2002-01-01 20:18 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 ` Andreas Dilger [this message]
2002-01-02  0:18   ` [Evms-devel] " Andrew Clausen
2002-01-02 19:34 ` Christoph Hellwig
2002-01-02 20:37   ` Andrew Clausen

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=20020101131817.J12868@lynx.no \
    --to=adilger@turbolabs.com \
    --cc=bug-parted@gnu.org \
    --cc=clausen@gnu.org \
    --cc=evms-devel@lists.sourceforge.net \
    --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