public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* userspace discovery of partitions
@ 2002-01-01 18:57 Andrew Clausen
  2002-01-01 20:18 ` [Evms-devel] " Andreas Dilger
  2002-01-02 19:34 ` Christoph Hellwig
  0 siblings, 2 replies; 5+ messages in thread
From: Andrew Clausen @ 2002-01-01 18:57 UTC (permalink / raw)
  To: linux-kernel; +Cc: bug-parted, evms-devel

Hi all,

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.

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?

libparted currently supports 7 partition table formats (vs 11 in
linux 2.4).  It uses the blkpg interface in 2.4 to communicate
partition info.  (see libparted/linux.c, linux_disk_commit)

Andrew


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-01-02 20:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox