fixup for nodev on /tmp
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
This commit is contained in:
parent
3d8a829986
commit
99671182f1
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user