Re: dm targets with spaces in the name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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()?

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux