All of lore.kernel.org
 help / color / mirror / Atom feed
From: christophe varoqui <christophe.varoqui@free.fr>
To: linux-hotplug@vger.kernel.org
Subject: [ANNOUCE] kpartx-0.0.2
Date: Mon, 26 Jan 2004 22:33:45 +0000	[thread overview]
Message-ID: <401595C9.30702@free.fr> (raw)

Hello,

here is the second release of kpartx : the shameless perversion of 
util-linux's partx.
As before it :
1) compiles against klibc
2) read partitions table like partx
3) drives the device mapper to  present the partitions bdevs

Find it at http://dsit.free.fr/kpartx-0.0.2.tar.bz2

This release adds a interesting functionality : it can now read 
partitions tables from regular files, automagically assign a loop device 
(like the mount cmd), and map  devmaps from here.

Example : here, /tmp/test is a dump of an USB key

root@zezette../kpartx-0.0.2$ ./kpartx -a -v /tmp/test
last_lba(): I don't know how to handle files with mode 81a4
gpt: 0 slices
dos: 6 slices
reduced size of partition #2 to 32
Added loop0p1 : 0 15968 /dev/loop0 32
Added loop0p2 : 0 32 /dev/loop0 16000
Added loop0p5 : 0 6432 /dev/loop0 16032
Added loop0p6 : 0 9504 /dev/loop0 22496

root@zezette../kpartx-0.0.2$ ./kpartx -d -v /tmp/test
last_lba(): I don't know how to handle files with mode 81a4
gpt: 0 slices
dos: 6 slices
loop found : /dev/loop0
Deleted device map : loop0p1
Deleted device map : loop0p2
Deleted device map : loop0p5
Deleted device map : loop0p6
loop deleted : /dev/loop0

I heard there was some work to make the loop kernel driver partitionable ...
Is it still worth it ?

Is there interest in this tool, or ideas ? If there is, how to keep the 
ball rolling ?

regards,
cvaroqui


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

             reply	other threads:[~2004-01-26 22:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-26 22:33 christophe varoqui [this message]
2004-01-26 23:08 ` [ANNOUCE] kpartx-0.0.2 christophe.varoqui

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=401595C9.30702@free.fr \
    --to=christophe.varoqui@free.fr \
    --cc=linux-hotplug@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.