YAFFS2 init error

davef
I modified a working JFFS2 root fs that I had at the end of the tutorial on
the Wiki to YAFFS2.

I switched back to the 2.6.32.2 kernel on the downloads page (YAFFS2
enabled), which runs with the Qtopia 2.2.0 64 MB (2010-01-08) root image.
 
Only change was I did mkyaffs2image on my root file system.

(mkyaffs2image [target directory] [my_rootfs.img])


Error:

* Mounting file systems . . .
/etc/rcs: line 10 can't create /dev/null/: No such device or address

and line 10 reads:

mount -n -t proc /proc /proc > /dev/null

and before this there is a:

PATH=/bin:/sbin/usr/bin:/usr/sbin 

***********

There is a proc directory.  Had a look at several close hits on Google, but
none seem to suggest things to try.

 
Appreciate any suggestions.

Dave

PJvG
Hi Dave,

I had problems with that too yesterday.
I'm not sure yet how to solve it.

Maybe fooling around with the rcS script might help.
Sadly I don't know much about shell scripts, root file systems and mounting
devices yet.. So I couldn't really be much of a help. 

I find it pretty hard to get a proper custom rootfs working on my mini2440.
I've got one now, but it's having problems locating some libraries. I've
got to look into it some more.


Regards,

PJvG

davef
Any hints on how to debug this problem would be appreciated.

Works fine with a JFFS2 file system.

Are there any subtle differences in the way the root file system needs to
be setup for these two types of rootfs?

Thanks,
Dave