On Sat, 17 Mar 2001, Bernd Eckenfels wrote:

> In article <[EMAIL PROTECTED]> you wrote:
> > Aha.. so that's it.  I've never been able to get /linuxrc to execute
> > automagically.  I wonder why /linuxrc executes on Art's system, but
> > not on mine.  I can call it whatever I want and it doesn't run unless
> > I explicitly start it with init=whatever.
>
> linuxrc is executed iff:
>
> CONFIG_BLK_DEV_INITRD is defined
> you actually have a initrd mounted
> /dev/console can be found and opened
> a executable "/linuxrc" is in the ramdisk

<g> There's one more important condition to add to this iff list.

ROOT_DEV as set at kbuild or boot time may not be identical with
the device used as a container for the initrd image.

Greetings from bash.  My pid is 8
  PID TTY STAT TIME COMMAND
    1  ?  SW   0:05 (swapper)
    2  ?  SW   0:00 (keventd)
    3  ?  SW   0:00 (kapm-idled)
    4  ?  SW   0:00 (kswapd)
    5  ?  SW   0:00 (kreclaimd)
    6  ?  SW   0:00 (bdflush)
    7  ?  SW   0:00 (kupdate)
    8  ?  S    0:00 /bin/sh /linuxrc
   11  ?  R    0:00 /bin/ps ax
/dev/root / ext2 rw 0 0
/dev/hda5 /test ext2 rw 0 0
none /proc proc rw 0 0

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

Reply via email to