Re: Weird discrepancy between /dev/mapper/* and /dev/dm-* devices breaks lilo

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

 



On Wed, Jan 31, 2007 at 11:47:37AM +0100, Loïc Minier wrote:
>  When issuing the same dmsetup commands on two device nodes with the
>  same major/minor, the results are puzzling:

The device-mapper ioctls allow mapped devices to be referenced in three ways:
  name
  uuid
  major+minor

The uuid is optional.

dmsetup provides a command line wrapper around the ioctls.  It also
maintains the /dev/mapper directory, creating inodes there called 'name'.
It understands the above three ways of referencing devices: it does not
depend on the existing contents of '/dev'.

Some distributions chose to configure udev to create /dev/dm-N inodes where
N is the minor number.  (I have always discouraged that as a recipe for
confusion: I believe that using configurable names is a better approach.)

Alasdair
-- 
agk@xxxxxxxxxx

--
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