| SYSTEMD.MSTACK(7) | systemd.mstack | SYSTEMD.MSTACK(7) |
.SH "NAME" systemd.mstack - Mount stacks in self descriptive
directories
.SH "DESCRIPTION"
.PP Directories with the .mstack/ suffix may encode 'mount stacks' for
assembling OS mount hierarchies based on bind and overlay mounts, for use in
systemd-nspawn(1)'s --mstack= switch or the service manager's
RootMStack= setting for services. .mstack/ directories may contain
various files and subdirectories, where each will effect one layer of an
overlayfs mount, or a bind mount. The name of the file or subdirectory
indicates how it shall be used in the mount hierarchy. Specifically, the
following names are defined:
.PP Note that each of the entry types above may be a symbolic link pointing
to a directory or image file, instead a directory or image file itself.
.PP On each listed file or subdirectory type the systemd.v(7)
functionality may be used, for automatic selection of versioned
resources.
.PP Use the systemd-mstack(1) tool to process or mount .mstack/
directories from the command line.
.SH "EXAMPLES"
.PP The following .mstack/ consists of two read-only overlayfs layers as DDI,
plus one writable directory on top. The read-only layers are symlinked:
.PP The following .mstack/ consists of a read-only DDI mounted to /usr/ and
writable root:
.PP The following .mstack/ consists of a read-only DDI mounted as root, but a
writable /var/ mounted on top:
.SH "SEE ALSO"
.PP systemd(1), systemd-mstack(1), systemd-nspawn(1),
systemd.exec(5), systemd.v(7), systemd-vpick(1)
| systemd 262.2 |