노무현 대통령 배너


2008. 5. 26. 12:53

Linux /Proc File System for Embedded Systems


원문: http://www.opentech.at/papers/embedded_proc/embedded_proc.html

The Linux Proc File System for Embedded Systems
Concepts and Programing

Nicholas Mc Guire
Opentech.at
Hollabrunn, Austria
der.herr@hofr.at, http://www.opentech.at

Abstract:

Since the late 0.99.X releases of the Linux kernel the proc file system is included in many GNU/Linux systems. This virtual file system interface allows both the inspection of kernel internal data structures and the manipulation of these data structures without the need of additional non-volatile memory. In embedded systems with tight resource constraints, the file system footprint is a key issue, in addition to the requirement for run-time optimisation. For such systems, utilising the capabilities of the proc file system and the related sysctl functions in order to provide kernel related administrative information via proc, as well as resource-optimised control interfaces, can substantially ameliorate embedded systems performance. A further, often ignored aspect, is that the proc and sysctl interface allow very precise tuning of access permissions, both increasing the security of the embedded system's administrative interfaces and improving diagnostic precision, which is essential for efficient error detection and analysis.