PINE64
/tmp dependencies & ramdisk - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: PostmarketOS on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=124)
+---- Thread: /tmp dependencies & ramdisk (/showthread.php?tid=16129)



/tmp dependencies & ramdisk - vap0rtranz - 02-19-2022

What are system bootup dependencies on /tmp?

I've tried switching /tmp to be a ramdisk on PMOS and Mobian.  PMOS boots into console (no phosh) and Mobian won't boot at all.

Perhaps my /etc/fstab syntax is wrong?? 

Code:
tmpfs /tmp tmpfs rw,nosuid,nodev,size=613392k,mode=755 0 2


(Why switch /tmp from filesystem to ramdisk?  /tmp is the default BURST_DIR for Megapixels, and for Pure Maps cache; so a ramdisk should make taking pics & viewing maps faster.  Everyone could benefit Smile

(02-19-2022, 11:51 AM)vap0rtranz Wrote: What are system bootup dependencies on /tmp?

I've tried switching /tmp to be a ramdisk on PMOS and Mobian.  PMOS boots into console (no phosh) and Mobian won't boot at all.

Perhaps my /etc/fstab syntax is wrong?? 

Code:
tmpfs /tmp tmpfs rw,nosuid,nodev,size=613392k,mode=755 0 2


(Why switch /tmp from filesystem to ramdisk?  /tmp is the default BURST_DIR for Megapixels, and for Pure Maps cache;  so a ramdisk should make taking pics & viewing maps faster.  Everyone could benefit Smile

well looks like it was my fstab syntax.  'default' in fstab worked.  Not ideal but it works:

Code:
tmpfs /tmp tmpfs default,size=524288k 0 2