Re: umount chokes on devices with '-' in the name

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

 



On 4/12/2011 4:49 AM, Karel Zak wrote:
> Please, ask DM upstream developers... /dev/dm-N is private DM stuff.
> We spent years to remove /dev/dm-N from userspace.

My understanding of the word canonical semantically means the one true
name the kernel calls the device, which is dm-N.  If that is not
supposed to be the canonical name, then it should not show up as such in
/sys should it?

Further, you say that "we spent years to remove /dev/dm-N from
userspace", but if that were the case, then why did you just have to
write a patch for mount to do so?  Also parted uses /dev/dm-N as the
canonical name, as does dmraid, and libc's canonicalize_file_name(),
which is called by lvm2.

Other than this patch you just wrote for umount, I am just not seeing
anything that considers the /dev/mapper name to be the canonical name.
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux