containerd/core/mount
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
..
fuse_linux.go Reorganize mount/unmount code so it is easier to add Darwin-specific implementation 2024-08-30 15:25:06 +03:00
fuse_unsupported.go Reorganize mount/unmount code so it is easier to add Darwin-specific implementation 2024-08-30 15:25:06 +03:00
lookup_linux_test.go Move mount to core/mount 2024-01-17 09:52:12 -08:00
lookup_unix.go Move mount to core/mount 2024-01-17 09:52:12 -08:00
lookup_unsupported.go Move mount to core/mount 2024-01-17 09:52:12 -08:00
losetup_linux_test.go Move mount to core/mount 2024-01-17 09:52:12 -08:00
losetup_linux.go Remove internal LoopConfig struct 2024-02-13 11:49:28 +02:00
mount_darwin.go Reorganize mount/unmount code so it is easier to add Darwin-specific implementation 2024-08-30 15:25:06 +03:00
mount_freebsd.go Reorganize mount/unmount code so it is easier to add Darwin-specific implementation 2024-08-30 15:25:06 +03:00
mount_idmapped_linux_test.go mv contrib/seccomp/kernelversion pkg/kernelversion 2024-01-24 19:03:53 +09:00
mount_idmapped_linux.go Refactor spots to make use of sys.IgnoringEintr 2024-04-10 11:24:01 -07:00
mount_linux_test.go Move mount to core/mount 2024-01-17 09:52:12 -08:00
mount_linux.go Reorganize mount/unmount code so it is easier to add Darwin-specific implementation 2024-08-30 15:25:06 +03:00
mount_test.go *: export RemoveVolatileOption for CRI image volumes 2024-05-30 09:56:37 +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_unsupported.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 Reorganize mount/unmount code so it is easier to add Darwin-specific implementation 2024-08-30 15:25:06 +03:00
mount.go Reorganize mount/unmount code so it is easier to add Darwin-specific implementation 2024-08-30 15:25:06 +03:00
mountinfo.go Move mount to core/mount 2024-01-17 09:52:12 -08:00
temp_unix.go Move mount to core/mount 2024-01-17 09:52:12 -08:00
temp_unsupported.go Move mount to core/mount 2024-01-17 09:52:12 -08:00
temp.go *: export RemoveVolatileOption for CRI image volumes 2024-05-30 09:56:37 +08:00