Re: udev and devfs - The final word

From: viro
Date: Mon Jan 05 2004 - 20:02:14 EST


On Mon, Jan 05, 2004 at 03:32:03PM -0800, Linus Torvalds wrote:
> dev_t lbt_devno()
> {
> return nr++;
> }
>
> since the numbers do have to be unique "per boot". They just shouldn't be
> considered "stable" _nor_ "meaningful".

Cute. There's a little issue of, say it, meaningful relationship between
sda and sda4, completely lost that way. And _that_ has nothing to do with
device enumeration.
-
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/