From f67ea78cce83114998390c16305a6869c72f5100 Mon Sep 17 00:00:00 2001 From: Victor Vieux Date: Wed, 5 Jun 2013 12:59:05 +0000 Subject: [PATCH] move xino stuff to /dev/shm --- image.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/image.go b/image.go index 7a98ef41a172c..4bd8f2df31ad8 100644 --- a/image.go +++ b/image.go @@ -126,6 +126,8 @@ func MountAUFS(ro []string, rw string, target string) error { } branches := fmt.Sprintf("br:%v:%v", rwBranch, roBranches) + branches += ",xino=/dev/shm/aufs.xino" + //if error, try to load aufs kernel module if err := mount("none", target, "aufs", 0, branches); err != nil { log.Printf("Kernel does not support AUFS, trying to load the AUFS module with modprobe...")