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"
|
"syscall"
|
||||||
"unicode"
|
"unicode"
|
||||||
|
|
||||||
"github.com/vtolstov/go-ioctl"
|
ioctl "github.com/vtolstov/go-ioctl"
|
||||||
)
|
)
|
||||||
|
|
||||||
func rootMount() (string, error) {
|
func rootMount() (string, error) {
|
||||||
@ -95,8 +95,8 @@ func ResizeRootFS() error {
|
|||||||
|
|
||||||
partstart := 0
|
partstart := 0
|
||||||
partnum := 0
|
partnum := 0
|
||||||
device := "/tmp/resize_dev"
|
device := "/dev/resize_dev"
|
||||||
partition := "/tmp/resize_part"
|
partition := "/dev/resize_part"
|
||||||
active := false
|
active := false
|
||||||
extended := false
|
extended := false
|
||||||
parttype := "Linux"
|
parttype := "Linux"
|
||||||
|
Loading…
Reference in New Issue
Block a user