repart: add test case for btrfs specific options and MountPoint=, and update man page (#38756)

Closes #38749.
This commit is contained in:
Daan De Meyer
2025-09-04 09:00:09 +02:00
committed by GitHub
3 changed files with 68 additions and 11 deletions
+3 -1
View File
@@ -7859,7 +7859,7 @@ static int context_fstab(Context *context) {
fputs(AUTOMATIC_FSTAB_HEADER_START "\n", f);
LIST_FOREACH(partitions, p, context->partitions) {
_cleanup_free_ char *what = NULL, *options = NULL;
_cleanup_free_ char *what = NULL;
if (!need_fstab_one(p))
continue;
@@ -7869,6 +7869,8 @@ static int context_fstab(Context *context) {
return r;
FOREACH_ARRAY(mountpoint, p->mountpoints, p->n_mountpoints) {
_cleanup_free_ char *options = NULL;
r = partition_pick_mount_options(
p->type.designator,
p->format,