github.com/xuyutom/docker@v1.6.0/pkg/system/mknod_windows.go (about)

     1  // +build windows
     2  
     3  package system
     4  
     5  func Mknod(path string, mode uint32, dev int) error {
     6  	// should not be called on cli code path
     7  	return ErrNotSupportedPlatform
     8  }
     9  
    10  func Mkdev(major int64, minor int64) uint32 {
    11  	panic("Mkdev not implemented on windows, should not be called on cli code")
    12  }