]> git.ipfire.org Git - thirdparty/systemd.git/commit
conf-files: add flag so that we don't always prefix returned paths with the root... 40446/head
authorLennart Poettering <lennart@poettering.net>
Mon, 15 Sep 2025 13:12:40 +0000 (15:12 +0200)
committerLennart Poettering <lennart@poettering.net>
Sun, 25 Jan 2026 19:51:50 +0000 (20:51 +0100)
commit65a6da9c96888cc0ed2af836d69b38bb20003cca
treedb578186eeb49944ad4caf202e219dbe4fb5fbb5
parent8a4f8569772bca5c7883abe3a91a215de535b301
conf-files: add flag so that we don't always prefix returned paths with the root dir path used

This is useful in tools such as system-repart where we show the
definition file paths a lot in our output, but if prefixed with the root
path we'd show a temporary mount dir when operating on a image file.
Hence, let's drop the prefix here, and show only the path within the
image.
src/basic/conf-files.c
src/basic/conf-files.h
src/repart/repart.c