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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 14, 2006 at 10:59:50PM -0800, Andrew Morton wrote:
> Al Viro <[email protected]> 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.

It's called from late boot code.
 
>   b) Fix that, mkdir and mount barf because it needs set_fs(KERNEL_DS)

It's called from late boot code, running as kernel thread.

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

Details, please.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux