Re: LANANA: To Pending Device Number Registrants

Neil Brown (neilb@cse.unsw.edu.au)
Tue, 15 May 2001 07:37:07 +1000 (EST)


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