containerd/pkg/os
Marat Radchenko bfc1465a2c Reorganize mount/unmount code so it is easier to add Darwin-specific implementation
After these changes, in order to add Darwin bind-mount implementation, one only needs:
* Adjust HasBindMounts definition in mount.go
* Provide implementation in mount_darwin.go

There was no consensus on adding dependency on bindfs, that seems to be the only working solution for bind-mounts on Darwin as of today, in https://github.com/containerd/containerd/pull/8789, that's why the actual implementation is not added in current PR.

As a bonus, Linux FUSE-related code was moved to a separate file and possibly could be reused on FreeBSD, though this needs testing.

Signed-off-by: Marat Radchenko <marat@slonopotamus.org>
2024-08-30 15:25:06 +03:00
..
testing Move mount to core/mount 2024-01-17 09:52:12 -08:00
mount_linux.go Move mount to core/mount 2024-01-17 09:52:12 -08:00
mount_other.go Move mount to core/mount 2024-01-17 09:52:12 -08:00
mount_unix.go Reorganize mount/unmount code so it is easier to add Darwin-specific implementation 2024-08-30 15:25:06 +03:00
mount_windows.go Move mount to core/mount 2024-01-17 09:52:12 -08:00
os_unix.go Move WithMounts to specs 2023-01-11 13:03:59 -08:00
os_windows_test.go refactor: move from io/ioutil to io and os package 2021-09-21 09:50:38 +08:00
os_windows.go Run gofmt 1.19 2022-08-04 18:18:33 -07:00
os.go Move mount to core/mount 2024-01-17 09:52:12 -08:00