From: Peter Rajnoha <prajnoha@redhat.com>
To: psusi@ubuntu.com
Cc: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] libdevmapper's handling of devices with spaces in the name
Date: Thu, 27 Feb 2014 10:08:30 +0100 [thread overview]
Message-ID: <530F008E.1070003@redhat.com> (raw)
In-Reply-To: <530E67E9.9060005@ubuntu.com>
On 02/26/2014 11:17 PM, Phillip Susi wrote:
> I'm trying to fix parted to not fail on such devices. As I said
> originally it fails because it calls dm_task_get_name() to find out
> the true /dev/mapper/ name of the device, so that it can add the
> partition number to it and be able to open the partition. Now that I
> look at the comment in the headers, it sounds like perhaps it just
> should be using dm_task_get_name_mangled() instead.
Yes, you can call that fn to get the name in its actual "mangled" form
as it appears in /dev/mapper.
--
Peter
prev parent reply other threads:[~2014-02-27 9:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-26 17:04 [linux-lvm] libdevmapper's handling of devices with spaces in the name Phillip Susi
2014-02-26 18:21 ` Zdenek Kabelac
2014-02-26 18:37 ` Phillip Susi
2014-02-26 19:12 ` Zdenek Kabelac
2014-02-26 20:52 ` Phillip Susi
2014-02-26 21:40 ` Zdenek Kabelac
2014-02-26 22:17 ` Phillip Susi
2014-02-26 23:26 ` Alasdair G Kergon
2014-02-27 8:51 ` Peter Rajnoha
2014-02-27 9:08 ` Peter Rajnoha [this message]
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=530F008E.1070003@redhat.com \
--to=prajnoha@redhat.com \
--cc=linux-lvm@redhat.com \
--cc=psusi@ubuntu.com \
/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 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).