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

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

 



On Mon, Apr 11, 2011 at 07:34:59PM -0400, Phillip Susi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 04/11/2011 08:22 AM, Karel Zak wrote:
> > Note that mount(8) canonicalizes all device names, so /dev/dm-N is
> > always translated to /dev/mapper/<name>. In the mtab should be 
> > stored the /dev/mapper/<name> paths only. 
> 
> - From what I have seen, this is backwards.  The canonical name is
> /dev/dm-N.  The friendly name is /dev/mapper/foo.  Other tools I have
> seen that are given the /dev/mapper/ friendly name canonicalize it TO
> /dev/dm-N, and it appears that is what mount.ntfs is doing as well, and
> it should not be.

Please, ask DM upstream developers... /dev/dm-N is private DM stuff.
We spent years to remove /dev/dm-N from userspace.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
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