Re: LANANA: To Pending Device Number Registrants

From: Neil Brown (neilb@cse.unsw.edu.au)
Date: Mon May 14 2001 - 15:55:01 EST


On Monday May 14, torvalds@transmeta.com wrote:
>
> End of discussion.
>
> Linus
>

...and start of education please...

I want to create a new block device - it is a different interface to
the software-raid code that allows the arrays to be partitioned using
normal partition tables.

So I need a major number - to give to devfs_register_blkdev at least.
You don't want me to have a hardcoded one (which is fine) so I need a
dynamically allocated one - yes?

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?

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/



This archive was generated by hypermail 2b29 : Tue May 15 2001 - 21:00:37 EST