Logo
Explore Help
Sign In
dasharo/systemd
0
0
Fork 0
You've already forked systemd
mirror of https://github.com/Dasharo/systemd.git synced 2026-03-06 15:02:31 -08:00
Code Issues Packages Projects Releases Wiki Activity
Files
6faecbd353f9eb5aebe65a7159c5e61191e4330f
systemd/src/systemctl/systemctl-mount.h

6 lines
168 B
C
Raw Normal View History

core: add DBUS method to bind mount new nodes without service restart Allow to setup new bind mounts for a service at runtime (via either DBUS or a new 'systemctl bind' verb) with a new helper that forks into the unit's mount namespace. Add a new integration test to cover this. Useful for zero-downtime addition to services that are running inside mount namespaces, especially when using RootImage/RootDirectory. If a service runs with a read-only root, a tmpfs is added on /run to ensure we can create the airlock directory for incoming mounts under /run/host/incoming.
2020-07-30 19:37:10 +01:00
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
int mount_bind(int argc, char *argv[], void *userdata);
systemctl: add new option to mount image inside a running service namespace Use the new DBUS method and follow the same pattern as the systemctl bind command.
2021-01-21 18:37:40 +00:00
int mount_image(int argc, char *argv[], void *userdata);
Reference in New Issue Copy Permalink
Powered by Gitea Page: 62ms Template: 3ms
English
English
Licenses API