Re: root=/dev/sda1 fails but root=0x0801 works...

From: John Z. Bohach
Date: Tue Feb 14 2006 - 12:18:40 EST


On Tuesday 14 February 2006 08:24, Al Viro wrote:
> On Tue, Feb 14, 2006 at 10:42:44AM -0500, Phillip Susi wrote:
> > This is expected behavior. The kernel doesn't have a /dev at the time
> > it mounts the root fs so it has no idea what /dev/sda1 is.
>
> Incorrect. Read init/do_mounts.c::name_to_dev_t().

Thanks for the info...Philip, you are correct, but for the wrong reason. Al,
you hit it right on the head...

It is intentional behavior, but the reason is that
for name_to_dev_t() to work, CONFIG_SYSFS must be enabled...so there's
my connection to the CONFIG_* option that I suspected...

Thanks again...

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

--
### Any similarity between my views and the truth is completely ###
### coincidental, except that they are endorsed by NO ONE ###

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