All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phillip Susi <psusi@cfl.rr.com>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: dm targets with spaces in the name
Date: Fri, 5 Dec 2008 11:58:30 -0500	[thread overview]
Message-ID: <49395DB6.6050802@cfl.rr.com> (raw)
In-Reply-To: <20081205015938.GQ26097@agk.fab.redhat.com>

Alasdair G Kergon wrote:
> I can't guarantee that names with spaces in them have had much testing
> as LVM doesn't permit them.  But device-mapper itself and dmsetup
> are supposed to support them.
<snip>
> Tools really should not be passing path names into constructors - use the
> major:minor format instead as the in-kernel code paths are much more
> predictable, there are fewer opportunities for races and so it offers
> better control to the userspace code.

But if you run dmsetup and key in a table referencing a device with a 
space in the name, that is what happens; linear_ctr gets passed 
"/dev/foo bar" as the path argv.  Shouldn't it then be just as capable 
of opening the device as a call to open()?

  reply	other threads:[~2008-12-05 16:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-03 17:03 dm targets with spaces in the name Phillip Susi
2008-12-04 15:52 ` Heinz Mauelshagen
2008-12-04 20:15   ` Phillip Susi
2008-12-05  1:59     ` Alasdair G Kergon
2008-12-05 16:58       ` Phillip Susi [this message]
2008-12-05 17:08         ` Alasdair G Kergon
2008-12-08 20:31           ` Phillip Susi
2008-12-15 14:09             ` Heinz Mauelshagen
2008-12-15 16:18               ` Phillip Susi
2008-12-16  8:55                 ` Heinz Mauelshagen
2008-12-09 13:58   ` Arvin Schnell

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=49395DB6.6050802@cfl.rr.com \
    --to=psusi@cfl.rr.com \
    --cc=dm-devel@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.