device-mapper major number

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

 



how is the major number device-mapper assigned? i have one system that
has it as 253 (mdp is 254) and one that has it as 254 (from
/proc/devices). is there anyway of loading dm-mod with a certain major
number?

the reason i ask is because when lilo is run it writes the root device
major and minor number to the disk. if the major number happens to
change when the system boots up then there is a possibility of the root
filesystem (built on lvm) not being mounted.

also, when i create a logical volume with "persistent y" it requires me
to indicate the major and minor numbers for the device. i understand
needing the minor number but why the major number? in fact, it just
ignores the number i indicate for the major number anyways and uses the
major number for device-mapper. my memory may be failing me but it seems
that the major number was not needed to create a persistent logical
volume in the past.

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux