containerd / continuity

A transport-agnostic, filesystem metadata manifest system
https://containerd.io
Apache License 2.0
138 stars 66 forks source link

Support GOOS=netbsd #183

Closed AkihiroSuda closed 2 years ago

AkihiroSuda commented 3 years ago

The fs package is not compilable for GOOS=netbsd, as of the current main branch (7f427325e878a1890b681ae71c7a43b1ef076a5f) .

$ GOOS=netbsd go build ./fs/
# github.com/containerd/continuity/fs
fs/copy.go:118:12: undefined: copyFileInfo
fs/copy.go:122:12: undefined: copyXAttrs
fs/copy.go:157:14: undefined: copyDevice
fs/copy.go:164:13: undefined: copyFileInfo
fs/copy.go:168:13: undefined: copyXAttrs
fs/copy.go:190:9: undefined: copyFileContent
fs/diff_unix.go:58:26: undefined: sysx.ENODATA
fs/diff_unix.go:62:26: undefined: sysx.ENODATA