Revert "Add support for mounts on Darwin"

This reverts commit 2799b28e61.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
Akihiro Suda
2023-07-19 00:22:20 +09:00
parent e939d13195
commit 98f27e1d9c
10 changed files with 171 additions and 200 deletions

View File

@@ -19,13 +19,12 @@
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 errdefs.ErrNotImplemented
return mount.ErrNotImplementOnUnix
}
// Unmount will call Unmount to unmount the file.