diff options
author | Luca Boccassi <luca.boccassi@microsoft.com> | 2020-06-29 13:19:31 +0100 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@microsoft.com> | 2020-07-29 17:17:32 +0100 |
commit | 18d73705874f9bf0643485714e9dc069a2e9b599 (patch) | |
tree | 840ce033e9291bac5a28974dcc74180ca0efe074 /src/core/namespace.h | |
parent | 5511d8c1b9ad9e5288a2a0bacffdbcbed5c6c19a (diff) | |
download | systemd-18d73705874f9bf0643485714e9dc069a2e9b599.tar.gz |
service: add new RootImageOptions feature
Allows to specify mount options for RootImage.
In case of multi-partition images, the partition number can be prefixed
followed by colon. Eg:
RootImageOptions=1:ro,dev 2:nosuid nodev
In absence of a partition number, 0 is assumed.
Diffstat (limited to 'src/core/namespace.h')
-rw-r--r-- | src/core/namespace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/namespace.h b/src/core/namespace.h index b182223bd4..258bd7c131 100644 --- a/src/core/namespace.h +++ b/src/core/namespace.h @@ -75,6 +75,7 @@ struct TemporaryFileSystem { int setup_namespace( const char *root_directory, const char *root_image, + const MountOptions *root_image_options, const NamespaceInfo *ns_info, char **read_write_paths, char **read_only_paths, |