The mini2440 BSP ships with a platform-specific /etc/fstab file which does not mount a tmpfs filesystem in /run. Options that expect a tmpfs in /run will not work as expected.
This patch: - adds /run as a tmpfs - bind mounts /var/run to /run - bind mounts /var/tmp to /tmp - Adds noauto to debugfs Signed-off-by: Guillermo Rodriguez <[email protected]> --- diff --git a/configs/platform-friendlyarm-mini2440/projectroot/etc/fstab b/configs/platform-friendlyarm-mini2440/projectroot/etc/fstab index 22d061a..15464f4 100644 --- a/configs/platform-friendlyarm-mini2440/projectroot/etc/fstab +++ b/configs/platform-friendlyarm-mini2440/projectroot/etc/fstab @@ -7,11 +7,13 @@ proc /proc proc defaults 0 0 devpts /dev/pts devpts defaults 0 0 none /tmp tmpfs defaults,mode=1777,uid=0,gid=0 0 0 none /sys sysfs defaults 0 0 -debugfs /sys/kernel/debug debugfs defaults 0 0 +debugfs /sys/kernel/debug debugfs defaults,noauto 0 0 usbfs /proc/bus/usb usbfs devgid=14,devmode=0660 0 0 # ramdisks +none /run tmpfs defaults,mode=0755,uid=0,gid=0 0 0 +none /tmp tmpfs defaults,mode=1777,uid=0,gid=0 0 0 none /var/log tmpfs defaults,mode=0755,uid=0,gid=0 0 0 -none /var/run tmpfs defaults,mode=0755,uid=0,gid=0 0 0 none /var/lock tmpfs defaults,mode=0755,uid=0,gid=0 0 0 -none /var/tmp tmpfs defaults,mode=1777,uid=0,gid=0 0 0 +/run /var/run bind bind 0 0 +/tmp /var/tmp bind bind 0 0
