Re: udev and devfs - The final word

From: Tommi Virtanen
Date: Wed Dec 31 2003 - 18:16:31 EST


Rob Love wrote:
Let me try to rephrase Nathan's question more explicitly.

If user policy decides all naming, how does the kernel parse e.g. root=/dev/foo arguments? Or the swap partition to use for swsuspend?
Oh. That has always been a hack, ala name_to_dev_t().

We will have to continue doing that hack so long as those users are in
the kernel proper (and not early user-space, for example).

I think devfs names are accepted as root= arguments, so that's a bit of
a loss.. with udev, your /dev and your root= are equal only if you
follow the standard naming.

For root=, I can see how early userspace can move that to userspace.
But what about swsuspend?

Are there any more kernel options taking file names? I think now would
be a good time to stop adding more of them :)

-
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/