Bug#704160: kpartx says it will create /dev/loop0p1 but uses other names

Stefan Monnier monnier at IRO.UMontreal.CA
Thu Mar 28 17:32:02 UTC 2013


Package: kpartx
Version: 0.4.9+git0.4dfdaf2b-6
Severity: normal

Dear Maintainer,

I did
   losetup -f /blabla/foo.img
and then
   kpartx -l /dev/loop0
which told me that it was about to create /dev/loop0p1.
This sounded good so I did
   kpartx -a /dev/loop0
which did not create /dev/loop0p1, but instead created
/dev/dm-6 along with vaious symlinks in /dev/disk/by-id.

The use of dm-6 makes sense from a technical point of vue, and the
symlinks in /dev/disk are fine, but please add a symlink from
/dev/loop0p1 since that's the "normal" logical name.


	Stefan


-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages kpartx depends on:
ii  dmsetup             2:1.02.74-6
ii  libc6               2.13-38
ii  libdevmapper1.02.1  2:1.02.74-6
ii  udev                175-7.1

kpartx recommends no packages.

kpartx suggests no packages.

-- no debconf information



More information about the pkg-lvm-maintainers mailing list