Christian Brauner
c9f461a806
machinectl: add bind-volume / unbind-volume verbs
...
machinectl bind-volume MACHINE PROVIDER:VOLUME[:CONFIG][:K=V,...]
machinectl unbind-volume MACHINE PROVIDER:VOLUME
For bind-volume, machinectl parses the SPEC with the shared
bind_volume_parse(), Acquires the storage volume from the named
provider on the machinectl side, locates the target machine's
io.systemd.MachineInstance control socket via
machine_get_control_address(), pushes the fd across, and calls
io.systemd.MachineInstance.AddStorage with name='<provider>:<volume>'
and the user-supplied config string.
For unbind-volume, machinectl just forwards the name string to
io.systemd.MachineInstance.RemoveStorage.
Volumes attached at machine startup (e.g. via systemd-vmspawn's
--bind-volume=) are rejected with StorageImmutable when the user
attempts to unbind them at runtime.
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org >
2026-05-06 10:30:17 +02:00
..
2026-05-05 11:14:33 +02:00
2026-05-05 11:17:49 +02:00
2026-04-30 11:12:33 +01:00
2026-05-06 10:30:13 +02:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-05-06 09:18:25 +02:00
2026-05-05 17:23:16 +02:00
2026-04-22 16:49:36 +02:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-05-05 17:22:26 +02:00
2026-04-19 06:02:48 +09:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-05-04 12:22:03 +02:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 19:26:08 +02:00
2026-04-19 16:17:47 +09:00
2026-04-23 11:45:22 +02:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-05-05 22:08:19 +02:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-23 06:42:24 +02:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-20 23:35:31 +02:00
2026-04-30 11:12:33 +01:00
2026-05-06 10:30:16 +02:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-05-05 17:22:26 +02:00
2026-04-30 11:12:33 +01:00
2026-05-06 10:30:17 +02:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 08:05:54 +02:00
2026-05-05 17:23:16 +02:00
2026-05-05 17:22:26 +02:00
2026-05-05 11:14:33 +02:00
2026-05-05 17:22:26 +02:00
2026-05-05 17:22:26 +02:00
2026-04-24 16:45:19 +01:00
2026-05-05 17:31:43 +02:00
2026-04-30 11:12:33 +01:00
2026-05-05 17:23:16 +02:00
2026-05-05 17:23:16 +02:00
2026-05-05 17:22:26 +02:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-05-05 17:23:16 +02:00
2026-05-05 20:55:36 +02:00
2026-05-05 17:22:26 +02:00
2026-05-05 17:22:26 +02:00
2026-04-30 11:12:33 +01:00
2026-05-06 10:30:17 +02:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-05-06 10:30:17 +02:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-23 19:10:15 +02:00
2026-05-05 15:09:47 +02:00
2026-05-05 17:22:26 +02:00
2026-04-24 07:40:08 +09:00
2026-05-05 18:21:55 +02:00
2026-04-30 11:12:33 +01:00
2026-05-06 10:30:16 +02:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-05-05 22:45:13 +02:00
2026-04-22 23:05:50 +01:00
2026-04-30 11:12:33 +01:00
2026-04-23 10:10:22 +01:00
2026-04-30 11:12:33 +01:00
2026-04-30 11:12:33 +01:00
2026-04-23 06:42:24 +02:00
2026-04-22 16:49:36 +02:00
2026-05-06 10:30:17 +02:00
2026-04-30 11:12:33 +01:00