Skip to content
Snippets Groups Projects

Clear /tmp when booting

Merged bjorn3 requested to merge bjorn3/redox:clear_tmp_on_boot into master
1 unresolved thread
4 files
+ 5
10
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 5
7
@@ -15,11 +15,16 @@ initfs = {}
ipcd = {}
kernel = {}
ptyd = {}
uutils = {}
## Configuration files
[[files]]
path = "/etc/init.d/00_base"
data = """
# clear and recreate tmpdir with 0o1777 permission
rm -r /tmp
mkdir -m a=rwxt /tmp
ipcd
ptyd
escalated
@@ -86,13 +91,6 @@ path = "/share"
data = "usr/share"
symlink = true
## /tmp directory with special mode
[[files]]
path = "/tmp"
data = ""
directory = true
mode = 0o1777
    • Author Contributor

      As we recreate this directory during booting anyway there is no need to create it in the installer anymore.

Please register or sign in to reply
## Device file symlinks
[[files]]
path = "/dev/null"
Loading