summaryrefslogtreecommitdiff
path: root/src/shared/dissect-image.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-04-21 16:37:09 +0200
committerLennart Poettering <lennart@poettering.net>2021-04-23 17:56:23 +0200
commit81939d9d5e31ad6c133fd0ca1bf4851c821b366f (patch)
treef0ae82631e6299108f1983e987b91091db0b78fc /src/shared/dissect-image.h
parentee8e497d249ab2e2df92aa024274f5b817270114 (diff)
downloadsystemd-81939d9d5e31ad6c133fd0ca1bf4851c821b366f.tar.gz
dissect-image: optionally, grow file systems on mount
The new GPT partition flag the previous commits added is now honoured on mount.
Diffstat (limited to 'src/shared/dissect-image.h')
-rw-r--r--src/shared/dissect-image.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/dissect-image.h b/src/shared/dissect-image.h
index 822380323a..b2f5c5dc96 100644
--- a/src/shared/dissect-image.h
+++ b/src/shared/dissect-image.h
@@ -111,6 +111,7 @@ typedef enum DissectImageFlags {
DISSECT_IMAGE_MOUNT_READ_ONLY = 1 << 17, /* Make mounts read-only */
DISSECT_IMAGE_READ_ONLY = DISSECT_IMAGE_DEVICE_READ_ONLY |
DISSECT_IMAGE_MOUNT_READ_ONLY,
+ DISSECT_IMAGE_GROWFS = 1 << 18, /* Grow file systems in partitions marked for that to the size of the partitions after mount */
} DissectImageFlags;
struct DissectedImage {