Re: /dev/console in kernels > 2.6.11?

Ben Greear <[email protected]> Wed, 08 Mar 2006 15:43:29 -0800
Newsgroups gmane.linux.bbc.devel
Organization Candela Technologies
Message-ID <[email protected]>
Paul Gray wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Wed, Mar 08, 2006 at 02:08:39PM -0800, Ben Greear wrote:
> 
>>For what it's worth...I believe I've added the correct mknod
>>commands, but it still panics...
>>
> 
> 
> Where does the panic occur?  If it's before the linuxrc, you can modify the
> script under meta/root.bin.  If it hoarks after the singularity is mounted, but
> before the init levels are run, then you can modify singularity/files/init.

The lines below, in the buildext2.cmd file, got me a little farther:

mkdir /dev
cd /dev
mknod console c 5 1
cd /

Now, after 'Mounting /proc', I see :
test: yes: unknown operand

A bit later:

/linuxrc: 61: cat: not found

and I'm dropped into the ash console.

It seems busybox is not compiled to support cat, but I don't think I changed
anything here..so this is kind of strange that all of a sudden this stops
working...

Ben

-- 
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com