From 0b0fbb54a3b89112f3be4aad0f983f8752ee3ff8 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Wed, 19 Sep 2012 21:02:35 +0000 Subject: Mount /dev/shm as tmpfs --- lib/Iurt/Chroot.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Iurt') diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm index 0f196e0..1e19860 100644 --- a/lib/Iurt/Chroot.pm +++ b/lib/Iurt/Chroot.pm @@ -88,7 +88,7 @@ sub clean_and_build_chroot { sudo($config, "--umount", "$chroot/proc"); return; } - if (!sudo($config, '--bindmount', "/dev/shm", "$chroot/dev/shm")) { + if (!sudo($config, '--tmpfs', "$chroot/dev/shm")) { plog('WARNING', "Failed to mount /dev/shm"); } if ($run->{icecream}) { -- cgit v1.2.1