From 040be66c3045c39462da0c11982be5f9093b0f2e Mon Sep 17 00:00:00 2001 From: HimbeerserverDE Date: Tue, 21 Mar 2023 18:54:13 +0100 Subject: mount /run --- src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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))) { -- cgit v1.2.3