Re: [PATCH] kdevt-diff

From: Roman Zippel (zippel@linux-m68k.org)
Date: Tue Apr 15 2003 - 08:37:19 EST


Hi,

On Mon, 14 Apr 2003, Linus Torvalds wrote:

> > Linus, if you still want to go for a single block device major, this patch
> > is bad idea (at least in this form).
>
> I disagree.

Ok, here is a compromise proposal. I don't care very much about the MKDEV
macro and almost nobody else should care about it either.
My main concern with a larger dev_t is that people start to go wild and
waste the number range with crap. So what I'd like to see is some usage
policy, e.g. nobody should assume a certain dev_t size, so that it's still
possible to scale it down. If the user has only a small number of devices,
they should be addressable even with a 16 bit dev_t.

BTW there are a few more functions missing, we need a dev_to_u32() and a
dev_to_u16(), so e.g. file systems can do something useful in mknod if
they can't store the complete number.

bye, Roman

-
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 Apr 15 2003 - 22:00:35 EST