Re: semi-regular plea for stable device mapping

From: Jan Engelhardt
Date: Tue Jan 01 2008 - 11:25:26 EST



On Jan 1 2008 10:54, Gene Heskett wrote:
>
>BUT! This defeats a fix I've had in my modprobe.conf for over a year now that
>gave the LVM stuff a stable major device # of 238, and now my LVM major is
>back to whatever mood the kernel is in, in this particular bootup case to
>#253.
>
>It may now be stable for a bit at that number because I see that pktcdvd has
>been given a stable address of its own, apparently with a major of 10. That
>was the wedgie that fscked things up originally for me. But what else lurks
>in the deep end of this experimental pool, to play piranna with us again when
>we least expect it?

Why exactly would you require a fixed major - not running udev or thelike?
Use the boot parameter, dm_mod.major=238.

>This drives tar up a wall because it uses this device number as part of the
>file comparisons it does, and it thinks everything is therefore new and needs
>a full level 0 backup. This is not at all practical, and requires that

I wonder how FreeBSD gets around this, because they've got dynamic numbers
everywhere.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/