core: shorten long unit names that are based on paths and append path hash at the end
authorMichal Sekletar <msekleta@redhat.com>
Tue, 15 Mar 2022 18:02:05 +0000 (19:02 +0100)
committerMichal Sekletar <msekleta@redhat.com>
Fri, 8 Apr 2022 13:18:24 +0000 (15:18 +0200)
commit1d0727e76fd5e9a07cc9991ec9a10ea1d78a99c7
tree210e5a04fccf5b7ececb91916d64502578d31cba
parent7f95def6710c409cf04bd6a3cbf56d34f61173a6
core: shorten long unit names that are based on paths and append path hash at the end

Fixes #18077
src/basic/string-util.h
src/basic/unit-name.c
src/basic/unit-name.h
src/core/mount.c
src/test/test-unit-name.c