linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [ANNOUCE] kpartx-0.0.2
@ 2004-01-26 22:33 christophe varoqui
  2004-01-26 23:08 ` christophe.varoqui
  0 siblings, 1 reply; 2+ messages in thread
From: christophe varoqui @ 2004-01-26 22:33 UTC (permalink / raw)
  To: linux-hotplug

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

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

* [ANNOUCE] kpartx-0.0.2
  2004-01-26 22:33 [ANNOUCE] kpartx-0.0.2 christophe varoqui
@ 2004-01-26 23:08 ` christophe.varoqui
  0 siblings, 0 replies; 2+ messages in thread
From: christophe.varoqui @ 2004-01-26 23:08 UTC (permalink / raw)
  To: linux-hotplug

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

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

end of thread, other threads:[~2004-01-26 23:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-26 22:33 [ANNOUCE] kpartx-0.0.2 christophe varoqui
2004-01-26 23:08 ` christophe.varoqui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).