Lennart Poettering
003dffde2c
machined: Move image discovery logic into src/shared, so that we can make use of it from nspawn
2014-12-28 02:08:40 +01:00
Lennart Poettering
27c88c4e23
machined: fix search patch magic for '.host' image
2014-12-26 20:05:11 +01:00
Lennart Poettering
08ff5529df
machined: make image read-only check indepenednt on own privs
2014-12-26 19:36:25 +01:00
Lennart Poettering
5fc7f35842
machined: when discovering images, implicitly add ".host" as pseudo image referring to the host's own directory tree
2014-12-26 19:33:15 +01:00
Lennart Poettering
a67a4c8cb7
machined: fix image search path iteration
2014-12-26 19:33:15 +01:00
Lennart Poettering
42c6f2c9b2
machined: let's also check machine directories in /usr and /usr/local
2014-12-26 19:33:15 +01:00
Lennart Poettering
86e339c884
machined: be more thorough when checking whether an image is writable or not
2014-12-26 19:21:58 +01:00
Lennart Poettering
10f9c75519
machined: beef up machined image listing with creation/modification times of subvolumes
...
We make use of the btrfs subvol crtime for this, and for gpt images of a
manually managed xattr, if we can.
2014-12-25 03:19:19 +01:00
Lennart Poettering
51929718dd
machined: fix writability check for GPT images
2014-12-24 16:53:05 +01:00
Lennart Poettering
ebeccf9eec
machined: add a full bus object for images
2014-12-19 20:43:18 +01:00
Lennart Poettering
c2ce6a3d82
machined: add new GetImage() bus call for retrieving the bus path for an image
2014-12-19 20:07:23 +01:00
Lennart Poettering
cd61c3bfd7
machined/machinectl: add logic to show list of available images
...
This adds a new bus call to machined that enumerates /var/lib/container
and returns all trees stored in it, distuingishing three types:
- GPT disk images, which are files suffixed with ".gpt"
- directory trees
- btrfs subvolumes
2014-12-19 19:19:29 +01:00