Files
podman/libpod/define/mount.go
Daniel J Walsh 45ce4834af Add support for ramfs as well as tmpfs in volume mounts
Users want to mount a tmpfs file system with secrets, and make
sure the secret is never saved into swap. They can do this either
by using a ramfs tmpfs mount or by passing `noswap` option to
a tmpfs mount.

Fixes: https://github.com/containers/podman/issues/19659

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-08-21 07:14:57 -04:00

13 lines
298 B
Go

package define
const (
// TypeDevpts is the type for creating a devpts
TypeDevpts = "devpts"
// TypeTmpfs is the type for mounting tmpfs
TypeTmpfs = "tmpfs"
// TypeRamfs is the type for mounting ramfs
TypeRamfs = "ramfs"
// TypeVolume is the type for named volumes
TypeVolume = "volume"
)