This fixes the following error on macOS: sync /dev/disk2: inappropriate ioctl for device related to https://github.com/gokrazy/gokrazy/issues/22
11 lines
316 B
Go
11 lines
316 B
Go
package packer
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
)
|
|
|
|
func rereadPartitions(*os.File) error {
|
|
return fmt.Errorf("gokrazy is currently missing code for re-reading partition tables on your operating system. Please see the README at https://github.com/gokrazy/tools for alternatives, and consider contributing code to fix this")
|
|
}
|