devices

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2026 License: Apache-2.0 Imports: 4 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func DeviceInfo

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

func Mknod

func Mknod(p string, mode os.FileMode, major, minor int) error

mknod provides a shortcut for syscall.Mknod

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL