lkml.org 
[lkml]   [2006]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: root=/dev/sda1 fails but root=0x0801 works...
Al Viro <viro@ftp.linux.org.uk> wrote:
>
> Read init/do_mounts.c::name_to_dev_t().
>

I tried to do that a while ago, when I was trying to use it for
name_to_dev_t()ing in swsusp somewhere.


From my notes at the time:

a) It barfs if /sys is already mounted.

b) Fix that, mkdir and mount barf because it needs set_fs(KERNEL_DS)

c) Fix that, it barfs because name_to_dev_t is just broken. It is
accessing the wrong pathnames in /sys.

I think it needs a bit of help.
-
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/

\
 
 \ /
  Last update: 2006-02-15 08:03    [W:0.120 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site