In setting up an embedded system, a Linux box needed to have a read-only root partition. However, the OS must be able to write to certain files (the drive was partitioned into /, /home, /tmp, /usr, /var with the only read-only being / ). So I created symbolic links to the following files: /etc/mtab (linked to /proc/mounts/etc/mtab) /etc/network/interfaces (linked to /var/network/interfaces) /etc/resolv.conf (linked to /var/network/resolv.conf) /etc/hostname (linked to /var/network/hostname) All work except /etc/hostname. Whenever I create the symbolic link, the system does not boot or fails to boot all the way. Does anyone know a fix or an alternative to …

Member Avatar
Member Avatar
+0 forum 1

Welcome back to another Crystal Ball Sunday. Those of you who celebrate freedom on July 4 hopefully have had a safe and enjoyable holiday. Freedom comes in packages of all shapes and sizes and this week's Crystal Ball Sunday is about freedom in small packages: Embedded Devices. Embedded device refers to a piece of hardware that has limited resources (memory, power, range) and usually has a very specific function--sometimes a singular function. This means that the operating system that the device uses must have a very small footprint and be energy efficient. Embedded devices are as diverse as the above …

Member Avatar
+0 forum 0

The End.