...

Package devices

import "github.com/containerd/continuity/devices"
Overview
Index

Overview ▾

Variables

var ErrNotSupported = fmt.Errorf("not supported")

func DeviceInfo

func DeviceInfo(fi os.FileInfo) (uint64, uint64, error)

func Mknod

func Mknod(p string, mode os.FileMode, maj, min int) error

mknod provides a shortcut for syscall.Mknod