Re: udev and devfs - The final word

Tommi Virtanen
2003-12-31T23:15:32Z

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 :)