From 99671182f193d3f1c9036b72bd5832f397f208eb Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Thu, 2 Nov 2017 14:46:51 +0300 Subject: [PATCH] fixup for nodev on /tmp Signed-off-by: Vasiliy Tolstov --- system/filesystem_linux.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/filesystem_linux.go b/system/filesystem_linux.go index 28e082e..b3df438 100644 --- a/system/filesystem_linux.go +++ b/system/filesystem_linux.go @@ -30,7 +30,7 @@ import ( "syscall" "unicode" - "github.com/vtolstov/go-ioctl" + ioctl "github.com/vtolstov/go-ioctl" ) func rootMount() (string, error) { @@ -95,8 +95,8 @@ func ResizeRootFS() error { partstart := 0 partnum := 0 - device := "/tmp/resize_dev" - partition := "/tmp/resize_part" + device := "/dev/resize_dev" + partition := "/dev/resize_part" active := false extended := false parttype := "Linux"