diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-03-21 18:54:13 +0100 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-03-21 18:54:13 +0100 |
commit | 040be66c3045c39462da0c11982be5f9093b0f2e (patch) | |
tree | 094d4f3c0360c1dc5cc07bad1261e00087fe8f7e /src | |
parent | 9cb1e6d223db048a38b919f1594480c77f34846d (diff) |
mount /run
Diffstat (limited to 'src')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 0112f34..839210a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -125,6 +125,10 @@ fn main() -> ExitCode { .fstype("tmpfs") .mount("tmpfs", "/tmp") .expect("can't mount /tmp tmpfs"); + let _run_handle = Mount::builder() + .fstype("tmpfs") + .mount("tmpfs", "/run") + .expect("canÄt mount /run tmpfs"); if process::id() != 1 { match stdout.set_color(ColorSpec::new().set_fg(Some(Color::Red))) { |