Re: LANANA: To Pending Device Number Registrants

Neil Brown
2001-05-14T21:38:03Z

On Monday May 14, alan@lxorguk.ukuu.org.uk wrote:
> > This means that we need some analogue to {get,put}_unnamed_dev that
> > manages a range of dynamically allocated majors.
> > Is there such a beast already, or does someone need to write it?
> > What range(s) should be used for block devices?
> >
> > Am I missing something obvious here?
>
> Obvious question: Do you need your majors to be together in order, or can
> you pick 8 random numbers each boot and expect the user to cope ?
>
> Equally if they were static numbers do they have to be together or scattered ?

I think you are assuming that I need multiple majors so that
potentially all 256 possibly md devices can each be partitioned. Is
that right?

I wasn't going to be that generous. If you want to partition md
devices, you can only partition the first 16, into upto 15 partitions each.

If you have need for more arrays or more partitions than that, then
your problem is less like a peanut, and LVM begins to look less like a
sledgehammer.

NeilBrown