Mount interface¶
The mount interface exposes a directory between a slot owner and a plug owner.
A mount plug is described by these attributes:
Key |
Value |
Description |
|---|---|---|
|
string |
Path inside the workshop used as the plug’s target directory.
Must be an absolute path;
|
|
integer |
File permissions, in octal, applied when creating |
|
integer |
User ID applied when creating |
|
integer |
Group ID applied when creating |
|
Boolean |
Whether the target directory should be read-only.
Defaults to |
Plug owner: any regular SDK; not the system SDK.
The system SDK provides one mount slot, system:mount,
with a dynamic host-source attribute
that can be configured only at remount.
It is the only mount slot whose source is on the host filesystem.
A mount slot on a regular SDK is described by this attribute:
Key |
Value |
Description |
|---|---|---|
|
string |
Path inside the workshop used as the slot’s source directory.
Must be an absolute path;
|