Systemd/src/machine
Lennart Poettering eb38edce88 machine-image: add partial discovery of block devices as images
This adds some basic discovery of block device images for nspawn and
friends. Note that this doesn't add searching for block devices using
udev, but instead expects users to symlink relevant block devices into
/var/lib/machines. Discovery is hence done exactly like for
dir/subvol/raw file images, except that what is found may be a (symlink
to) a block device.

For now, we do not support cloning these images, but removal, renaming
and read-only flags are supported to the point where that makes sense.

Fixe: #6990
2017-10-26 17:54:56 +02:00
..
image-dbus.c machine-image: add partial discovery of block devices as images 2017-10-26 17:54:56 +02:00
image-dbus.h machined: add API for querying the OS release of a machine image 2016-12-07 18:38:41 +01:00
machine-dbus.c machined: refuse bind mounts on containers that have user namespaces applied 2017-02-17 10:22:28 +01:00
machine-dbus.h machined: expose "UID shift" concept for containers 2017-02-17 10:22:28 +01:00
machine.c mkdir: introduce follow_symlink flag to mkdir_safe{,_label}() 2017-10-06 16:03:33 +09:00
machine.h machined: expose "UID shift" concept for containers 2017-02-17 10:22:28 +01:00
machinectl.c tree-wide: use IN_SET macro (#6977) 2017-10-04 16:01:32 +02:00
machined-dbus.c Revert "tree-wide: use pid_is_valid() at more places" 2017-10-03 12:43:24 +01:00
machined.c tree-wide: make use of getpid_cached() wherever we can 2017-07-20 20:27:24 +02:00
machined.h machined: run clone operation asynchronously in the background 2016-05-02 11:15:30 +02:00
meson.build build-sys: use #if Y instead of #ifdef Y everywhere 2017-10-04 12:09:29 +02:00
operation.c Fix includes (#5980) 2017-05-19 10:01:35 -04:00
operation.h machined: "machinectl clean" can take a while, do it asynchronously from a background process 2016-06-24 16:01:14 +02:00
org.freedesktop.machine1.conf machined: expose "UID shift" concept for containers 2017-02-17 10:22:28 +01:00
org.freedesktop.machine1.policy.in machine: policykit string fixes 2015-08-25 18:37:16 +02:00
org.freedesktop.machine1.service machined: split out machine registration stuff from logind 2013-07-02 03:47:23 +02:00
test-machine-tables.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00