Re: [OpenWrt-Devel] No proc at very first time of preinit

2011-01-18 Thread Daniel Dickinson
On Fri, 17 Dec 2010 20:47:47 +0100 MRK wrote: > Thank You, I did not realized, that there is a split between > preinit_essentials and preinint_main. > > Nevertheless, although diag.sh is called though preinit_main, > it *is* faster then the regular procfs mount via preinit_essentails. > > By no

Re: [OpenWrt-Devel] No proc at very first time of preinit

2010-12-19 Thread MRK
Thank You, I did not realized, that there is a split between preinit_essentials and preinint_main. Nevertheless, although diag.sh is called though preinit_main, it *is* faster then the regular procfs mount via preinit_essentails. By now, I mount procfs for myself in diag.sh, but this should not

Re: [OpenWrt-Devel] No proc at very first time of preinit

2010-12-04 Thread Daniel Dickinson
On Sun, 28 Nov 2010 09:12:35 +0100 Michael Kämmerer wrote: > I'm trying to realize a "diag.sh" file for signaling the router state > via led flashing. > > My problem is, that when I try to read out the file "/proc/cpuinfo", > I get an error on serial console, that there is no file cpuinfo. You

[OpenWrt-Devel] No proc at very first time of preinit

2010-11-28 Thread Michael Kämmerer
I'm trying to realize a "diag.sh" file for signaling the router state via led flashing. My problem is, that when I try to read out the file "/proc/cpuinfo", I get an error on serial console, that there is no file cpuinfo. The failure is caused, because proc is not mounted at this very first time