diffs and relevant changes: docker/docker:c2cc352355...af34b94a78- replace pkg/symlink with github.com/moby/sys/symlink moby/sys:6154f11e68...1bc8673b57changes: - mount, mountinfo: Add support for OpenBSD in addition to FreeBSD - mount, mountinfo: Exclude macOS (darwin) - mount.RecursiveUnmount(): minor improvements - mount.RecursiveUnmount: add a fast path - mount: bump mountinfo to v0.3.1 - mount: Some refactor and improved GoDoc about Windows support - mount: use MNT_* flags from golang.org/x/sys/unix on freebsd (reduces use of cgo) - mountinfo.Mounted: add fast path for Linux using openat2 - mountinfo.Mounted: optimize by adding fast paths - mountinfo: correctness improvements - mountinfo: deprecate PidMountInfo - mountinfo: fix not showing package doc, typos - mountinfo: fix path unescaping - mountinfo: make GetMountinfoFromReader Linux-specific - mountinfo: rename FstypeFilter -> FSTypeFilter, fix FilterFunc docs - mountinfo: use idiomatic naming for fields - Migrate github.com/docker/docker/pkg/symlink Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
8 lines
210 B
Go
8 lines
210 B
Go
// +build !linux,!freebsd,!openbsd,!windows freebsd,!cgo openbsd,!cgo
|
|
|
|
package mount
|
|
|
|
func mount(device, target, mType string, flag uintptr, data string) error {
|
|
panic("cgo required on freebsd and openbsd")
|
|
}
|