From: "John Z. Bohach" <jzb@aexorsyst.com>
To: Al Viro <viro@ftp.linux.org.uk>, Phillip Susi <psusi@cfl.rr.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: root=/dev/sda1 fails but root=0x0801 works...
Date: Tue, 14 Feb 2006 09:20:20 -0800 [thread overview]
Message-ID: <200602140920.20685.jzb@aexorsyst.com> (raw)
In-Reply-To: <20060214162458.GD27946@ftp.linux.org.uk>
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@vger.kernel.org
> 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 ###
next prev parent reply other threads:[~2006-02-14 17:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-14 7:16 root=/dev/sda1 fails but root=0x0801 works John Z. Bohach
2006-02-14 15:42 ` Phillip Susi
2006-02-14 16:24 ` Al Viro
2006-02-14 17:20 ` John Z. Bohach [this message]
2006-02-14 19:03 ` Phillip Susi
2006-02-15 6:59 ` Andrew Morton
2006-02-15 7:10 ` Al Viro
2006-02-15 7:32 ` Andrew Morton
2006-02-15 7:59 ` Al Viro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200602140920.20685.jzb@aexorsyst.com \
--to=jzb@aexorsyst.com \
--cc=linux-kernel@vger.kernel.org \
--cc=psusi@cfl.rr.com \
--cc=viro@ftp.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.