Merge pull request #8789 from slonopotamus/macos-bind-mount

Add support for bind-mounts on Darwin (a.k.a. "make native snapshotter work")
This commit is contained in:
Kazuyoshi Kato
2023-07-18 10:16:10 -07:00
committed by GitHub
12 changed files with 201 additions and 219 deletions

View File

@@ -19,12 +19,13 @@
package os
import (
"github.com/containerd/containerd/errdefs"
"github.com/containerd/containerd/mount"
)
// Mount will call unix.Mount to mount the file.
func (RealOS) Mount(source string, target string, fstype string, flags uintptr, data string) error {
return mount.ErrNotImplementOnUnix
return errdefs.ErrNotImplemented
}
// Unmount will call Unmount to unmount the file.