[pocket-linux] Trouble with proc_fs in Section 5.4.2

pocket-linux@ufo.chicago.il.us pocket-linux@ufo.chicago.il.us
Fri, 04 Jul 2003 17:02:13 +0200 (DFT)


> PocketLinux Community:
>I was constructing PocketLinux according to Version 1.2 and all was
>going as advertised until Section 5.4.2. When I ran the script proc_fs the 
>following message kept appearing on the monitor: Out of Memory: Killed
>Process 1(sh). I have checked the script for typos several times, but 
>haven't found any. 

I never experienced this problem, is it possible that the ramdisk uses too much of the RAM from your machine? Does this error occur if you mount /proc manually?

>Also a question. In Section 5.3.6 one creates a symlink between
>/etc/mtab and /proc/mount. It appears that proc/mount isn't a >permanent file. That is, there is no ~/staging/proc/mount at stage 5.3.8.
>Is it created "on-the-fly" when one mounts proc? 

Yes, the proc-fs is only a virtual-filesystem (the files aren't real files on the harddisk) which contains live data from the kernel about devices, memory-usage and much more. So /proc/mount is available as soon as the proc-fs is mounted.
But we found out that it isn't the best solution to symlink /etc/mtab on /proc/mount (see the pocket-linux archives June 2003).

Greetz Daniel

-------------------------------------------
Versendet durch AonWebmail (webmail.aon.at)