containerd/mount
Laura Brehm daa3a7665e
Add WithReadonlyTempMount to create readonly temporary mounts
This is necessary so we can mount snapshots more than once with overlayfs,
otherwise mounts enter an unknown state.

related: https://github.com/moby/buildkit/pull/1100

Signed-off-by: Laura Brehm <laurabrehm@hey.com>
Co-authored-by: Zou Nengren <zouyee1989@gmail.com>
2023-03-17 15:51:18 +00:00
..
lookup_linux_test.go Use testify 2022-04-01 18:17:58 -07:00
lookup_unix.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
lookup_unsupported.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
losetup_linux_test.go refactor: move from io/ioutil to io and os package 2021-09-21 09:50:38 +08:00
losetup_linux.go Stop using math/rand.Read and rand.Seed (deprecated in Go 1.20) 2023-02-16 03:50:23 +09:00
mount_freebsd.go Use mount.Target to specify subdirectory of rootfs mount 2023-01-27 09:51:58 +08:00
mount_linux_test.go Use mount.Target to specify subdirectory of rootfs mount 2023-01-27 09:51:58 +08:00
mount_linux.go Use mount.Target to specify subdirectory of rootfs mount 2023-01-27 09:51:58 +08:00
mount_test.go Add WithReadonlyTempMount to create readonly temporary mounts 2023-03-17 15:51:18 +00:00
mount_unix.go Make mount.UnmountRecursive compatible to mount.UnmountAll 2023-01-31 22:07:44 +09:00
mount_unsupported.go Use mount.Target to specify subdirectory of rootfs mount 2023-01-27 09:51:58 +08:00
mount_windows.go Use mount.Target to specify subdirectory of rootfs mount 2023-01-27 09:51:58 +08:00
mount.go Add WithReadonlyTempMount to create readonly temporary mounts 2023-03-17 15:51:18 +00:00
mountinfo.go mount: mount.PID(), mount.Self(): change signature to return pointers 2021-01-08 17:31:53 +01:00
temp_unix.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
temp_unsupported.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
temp.go Add WithReadonlyTempMount to create readonly temporary mounts 2023-03-17 15:51:18 +00:00