[pocket-linux] Trouble with proc_fs in Section 5.4.2

David Horton pocket-linux@ufo.chicago.il.us
Sun, 06 Jul 2003 20:29:31 -0500


> 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).
> 

Yep, /proc/mounts is definitely not the best way to do things as we 
discovered the hard way.  If you want to try chapter 5 without the 
/proc/mounts mess, take a look at the preview for version 2.0 at:

http://my.core.com/~dhorton/linux/pocket/html/2.0_preview

It uses a real file for /etc/mtab that should give better results. 
There are also other improvements in the other chapters and updated 
versions of many of the packages used.  I'm planning to add an Appendix 
B with details on how to use busybox and tinylogin packages, but other 
than that I think it's ready for use.

As always any feedback on additions and corrections is appreciated.

Dave