[dm-devel] dm targets with spaces in the name

Phillip Susi psusi at cfl.rr.com
Wed Dec 3 17:03:02 UTC 2008


Is this allowed?  It looks like you can create a target with a space in 
the name, but then you can not refer to it in a rule of another target. 
  Specifically I am seeing a user with a dmraid setup with raid volumes 
using spaces in the name, and dmraid manages to create the stripe target 
( /dev/mapper/foo bar ), but then can not create the linear mapping on 
top of it for the partition, because the table looks like it has too 
many arguments due to the space.

So should you just avoid doing this, or should the kernel be fixed to 
understand quotes or backslash escapes or something to allow spaces in 
the target device file name?




More information about the dm-devel mailing list