From 665947460d2d8ea41ca826c45147748fc012d1c9 Mon Sep 17 00:00:00 2001 From: jiahaoluo Date: Wed, 19 Jan 2022 11:31:48 +0800 Subject: [PATCH] mount tmpfs on /storage and mkdir /storage/media Signed-off-by: jiahaoluo --- services/etc/init.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/etc/init.cfg b/services/etc/init.cfg index 4afc2cc2..86c7eb38 100755 --- a/services/etc/init.cfg +++ b/services/etc/init.cfg @@ -216,6 +216,8 @@ "mkdir /data/service/el2/0/hmdfs 0711 system system", "mkdir /data/chipset/el1/0 0711 root root", "mkdir /data/chipset/el2/0 0711 root root", + "mount tmpfs tmpfs /storage nodev noexec nosuid mode=0755,uid=0,gid=0", + "mkdir /storage/media 0711 root root", "mkdir /data/bootchart 0755 shell shell", "mkdir /data/app-staging 0750 system system", "copy /data/system/entropy.dat /dev/urandom", -- GitLab