Skip to contentSkip to conversation

Update kpartx manpage with current output

PATCH Applied Ritesh Raj Sarraf 2 participants 2 messages Jun 13, 2016 – Jun 20, 2016 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Update kpartx manpage with current output

See Debian Bug #796948 for details
Many users are reported to be consuming the output in a scripted setup

---
 kpartx/kpartx.8 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
kpartx/kpartx.8 +3 -3
index 021ddc0..564d93b 100644
@@ -50,15 +50,15 @@ kpartx \-av disk.img
 .PP
 This will output lines such as:
 .IP
-loop3p1 : 0 20964762 /dev/loop3 63
+add map loop1p1 (254:4): 0 409597 linear 7:1 3
 .PP
 The 
-.I loop3p1
+.I loop1p1
 is the name of a device file under 
 .I /dev/mapper
 which you can use to access the partition, for example to fsck it:
 .IP
-fsck /dev/mapper/loop3p1
+fsck /dev/mapper/loop1p1
 .PP
 When you're done, you need to remove the devices:
 .IP
Signature · 1 line
2.8.1
#1 lore raw

Applied.

Quoted 35 lines · Ritesh Raj Sarraf

See Debian Bug #796948 for details
Many users are reported to be consuming the output in a scripted setup

---
 kpartx/kpartx.8 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
kpartx/kpartx.8 +3 -4
index 021ddc0..564d93b 100644
@@ -50,15 +50,15 @@ kpartx \-av disk.img
 .PP
 This will output lines such as:
 .IP
-loop3p1 : 0 20964762 /dev/loop3 63
+add map loop1p1 (254:4): 0 409597 linear 7:1 3
 .PP
 The
-.I loop3p1
+.I loop1p1
 is the name of a device file under
 .I /dev/mapper
 which you can use to access the partition, for example to fsck it:
 .IP
-fsck /dev/mapper/loop3p1
+fsck /dev/mapper/loop1p1
 .PP
 When you're done, you need to remove the devices:
 .IP
--

2.8.1