Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/envbox
/ dev
Function
dev
xunix/device.go:126–129 ·
view source on GitHub ↗
(major, minor uint)
Source
from the content-addressed store, hash-verified
124
}
125
126
func
dev(major, minor uint) uint {
127
// This is lifted from the Linux kernel's makedev function.
128
return
((major & 0xfff) << 8) | (minor & 0xff)
129
}
Callers
2
CreateTUNDevice
Function · 0.85
CreateFuseDevice
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected