gitlab.com/apertussolutions/u-root@v7.0.0+incompatible/pkg/cpio/mknod_unix.go (about)

     1  // Copyright 2013-2019 the u-root Authors. All rights reserved
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // +build !freebsd,!plan9
     6  
     7  package cpio
     8  
     9  import (
    10  	"syscall"
    11  )
    12  
    13  func mknod(path string, mode uint32, dev int) (err error) {
    14  	return syscall.Mknod(path, mode, dev)
    15  }