Closed tklauser closed 6 years ago
One nit, unless for some non-linux unix systems something different than uint64
is used.
LGTM
LGTM
@tklauser Thanks!
One nit, unless for some non-linux unix systems something different than uint64 is used.
Yes, most of the non-Linux ones use something different than uint64
and the type conversion is needed there.
Now that golang.org/x/sys/unix provides the Mkdev, Major and Minor functions for every Unix-like OS, use them instead of the locally defined versions.
Suggested by @stevvooe in containerd/containerd#1580.
Fixes #96
Signed-off-by: Tobias Klauser tklauser@distanz.ch