]> git.ipfire.org Git - thirdparty/systemd.git/commit
homed: make clean that --storage=directory --image-path=/dev/some-block-device is...
authorLennart Poettering <lennart@poettering.net>
Fri, 18 Sep 2020 17:37:05 +0000 (19:37 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 18 Sep 2020 20:35:36 +0000 (22:35 +0200)
commitf9d525ae558105bf7fd77ad76e4fdb135bb9f634
treea053132b43fd32b75b16a8f539e2dd7ea253aaab
parent9796a9fbad5bae4d66bb40d848f6245d1ee327d8
homed: make clean that --storage=directory --image-path=/dev/some-block-device is not supported

The directory backend needs a file system path, and not a raw block
device. That's only supported for the LUKS2 backend.

Let's make this clearer in the man page and also generate a better error
message if attempted anyway.

Fixes: #17068
man/homectl.xml
src/home/homed-home.c