]> git.ipfire.org Git - thirdparty/systemd.git/commit
pid1: set Description even for devices which don't exist yet
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 4 Dec 2018 13:24:46 +0000 (14:24 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 10 Dec 2018 13:00:42 +0000 (14:00 +0100)
commit1d4c6f5befbc35e71f424c7e8a69c85a5a2272d5
tree7cb7d05514915cb787978d845a657d8e5fe5bb71
parent83f3e954c8b75a6d4a984ff945242dc177f3357b
pid1: set Description even for devices which don't exist yet

We'd only set the description after the device appeared in sysfs, so
we'd always print
"A start job is running for dev-disk-by\x2duuid-aaaa ... aaaa.device (42s / 1min 30s)"
Let's make this
"A start job is running for /dev/disk/by-duuid/aaaa ... aaaa (42s / 1min 30s)"

https://bugzilla.redhat.com/show_bug.cgi?id=1655860
src/core/device.c