]> git.ipfire.org Git - thirdparty/systemd.git/commit
mountfsd: also return suggested mount point paths for the returned partitions
authorLennart Poettering <lennart@poettering.net>
Tue, 11 Mar 2025 10:43:17 +0000 (11:43 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 11 Mar 2025 17:20:31 +0000 (18:20 +0100)
commit0ecfcc9790d8efced4372097aa49857b117a0d9f
tree1eadb42c4bf49ed363f1faf8fdd3a92a00f48c74
parent00c17ad5cfe395df6a07b352ebd03b9e352be8c4
mountfsd: also return suggested mount point paths for the returned partitions

When mounting a disk image we return a bunch of mount fds referencing
the various partitions in the disk, along with some metadata about them.
One key metadata field is the "designator" which is supposed to tell
clients what is what, and where to mount it.

Let's make this more explicit: let's also include the literal relative
path where each mount shall be placed, to simplify implementations of
clients that do not care about the concept of designators.
src/mountfsd/mountwork.c
src/shared/gpt.c
src/shared/gpt.h
src/shared/varlink-io.systemd.MountFileSystem.c