github.com/containers/libpod@v1.9.4-0.20220419124438-4284fd425507/pkg/util/utils_unsupported.go (about)

     1  // +build darwin windows
     2  
     3  package util
     4  
     5  import (
     6  	"github.com/pkg/errors"
     7  )
     8  
     9  // FindDeviceNodes is not implemented anywhere except Linux.
    10  func FindDeviceNodes() (map[string]string, error) {
    11  	return nil, errors.Errorf("not supported on non-Linux OSes")
    12  }