
Removed pre-go1.17 build-tags with go fix; go mod init go fix -mod=readonly ./... rm go.mod Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
13 lines
360 B
Go
13 lines
360 B
Go
//go:build !freebsd && !windows
|
|
|
|
package system // import "github.com/docker/docker/pkg/system"
|
|
|
|
import (
|
|
"golang.org/x/sys/unix"
|
|
)
|
|
|
|
// Mknod creates a filesystem node (file, device special file or named pipe) named path
|
|
// with attributes specified by mode and dev.
|
|
func Mknod(path string, mode uint32, dev int) error {
|
|
return unix.Mknod(path, mode, dev)
|
|
}
|