Karthik, The reason it was limited to 16MB in early days is because we had platforms with only 32MB of RAM and letting tmpfs fill up uncontrollable was dangerous and was making the system very unstable.
One of the options is to have per-machine RAM/tmpfs setting, which can get propagated to /etc/fstab accordingly - e.g. 32/64 for am335x/am437 and 64/128 for dra7xx, etc. -- Denys -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of R, Karthik Sent: Thursday, January 29, 2015 9:31 AM To: [email protected] Subject: [meta-arago] [RFC PATCH] base-files: Increase /var/volatile size * Weston applications allocate memory from tmpfs, need to increase the tmpfs area to atleast 50M. Can this be increased more - what are the pros/cons? Signed-off-by: Karthik Ramanan <[email protected]> --- .../recipes-core/base-files/base-files/fstab | 2 +- .../base-files/base-files_3.0.14.bbappend | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-arago-distro/recipes-core/base-files/base-files/fstab b/meta-arago-distro/recipes-core/base-files/base-files/fstab index 9ed6f33..8ddadd9 100644 --- a/meta-arago-distro/recipes-core/base-files/base-files/fstab +++ b/meta-arago-distro/recipes-core/base-files/base-files/fstab @@ -5,7 +5,7 @@ proc /proc proc defaults 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 usbdevfs /proc/bus/usb usbdevfs noauto 0 0 tmpfs /run tmpfs mode=0755,nodev,nosuid,strictatime 0 0 -tmpfs /var/volatile tmpfs defaults,size=16M 0 0 +tmpfs /var/volatile tmpfs defaults,size=50M 0 0 tmpfs /media/ram tmpfs defaults,size=16M 0 0 # uncomment this if your device has a SD/MMC/Transflash slot diff --git a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend index 40b7722..956a057 100644 --- a/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappend +++ b/meta-arago-distro/recipes-core/base-files/base-files_3.0.14.bbappe +++ nd @@ -1,4 +1,4 @@ # look for files in this layer first FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -PR_append = "-arago3" +PR_append = "-arago4" -- 1.7.9.5 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
