util-linux/partx
Davidlohr Bueso 0e9381133e partx: support loop devices
Add support for loop devices to add partitions. For now we make use of the
max_part parameter from the loop kernel module, otherwise the feature is
disabled.

Below an example output:

root@offbook:~/projects/util-linux/partx# ./partx -a -n 1:5 images-pt/dos+bsd.img
root@offbook:~/projects/util-linux/partx# ls /dev/loop0* -ltr
brw-rw---- 1 root disk 7, 0 2011-08-15 00:07 /dev/loop0
brw-rw---- 1 root disk 7, 5 2011-08-15 00:07 /dev/loop0p5
brw-rw---- 1 root disk 7, 2 2011-08-15 00:07 /dev/loop0p2
brw-rw---- 1 root disk 7, 1 2011-08-15 00:07 /dev/loop0p1

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-31 16:51:48 +02:00
..
.gitignore build-sys: update .gitignore files 2008-04-14 14:24:03 +02:00
Makefile.am partx: support loop devices 2011-08-31 16:51:48 +02:00
addpart.8 docs: uniformize the header and footer lines in man pages 2011-08-22 10:39:21 +02:00
addpart.c addpart: multiplication on 512 deleted 2011-05-05 14:53:35 +02:00
delpart.8 docs: uniformize the header and footer lines in man pages 2011-08-22 10:39:21 +02:00
delpart.c delpart: code consolidation 2010-12-09 21:56:22 +01:00
partx.8 docs: uniformize the header and footer lines in man pages 2011-08-22 10:39:21 +02:00
partx.c partx: support loop devices 2011-08-31 16:51:48 +02:00
partx.h partx: complete rewrite 2010-12-09 21:54:17 +01:00