public static enum Filesystem.AccessMode extends java.lang.Enum<Filesystem.AccessMode>
| Enum Constant and Description |
|---|
MAPPED
The source is accessed with the permissions of the hypervisor (QEMU process).
|
PASSTHROUGH
The source is accessed with the permissions of the user inside the guest.
|
SQUASH
Similar to
PASSTHROUGH, the exception is that failure of privileged operations like
'chown' are ignored. |
| Modifier and Type | Method and Description |
|---|---|
static Filesystem.AccessMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Filesystem.AccessMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Filesystem.AccessMode PASSTHROUGH
public static final Filesystem.AccessMode MAPPED
public static final Filesystem.AccessMode SQUASH
PASSTHROUGH, the exception is that failure of privileged operations like
'chown' are ignored. This makes a passthrough-like mode usable for people who run the hypervisor as non-root.public static Filesystem.AccessMode[] values()
for (Filesystem.AccessMode c : Filesystem.AccessMode.values()) System.out.println(c);
public static Filesystem.AccessMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null