From 2679f407353aa408c5e48f86866a45390c247e45 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 10 Mar 2021 16:58:54 +0100 Subject: [PATCH] dissect-image: extend comment on returned errors a bit --- src/shared/dissect-image.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/shared/dissect-image.c b/src/shared/dissect-image.c index 918d3021c42..843fd41bb9d 100644 --- a/src/shared/dissect-image.c +++ b/src/shared/dissect-image.c @@ -506,7 +506,9 @@ int dissect_image( /* Probes a disk image, and returns information about what it found in *ret. * * Returns -ENOPKG if no suitable partition table or file system could be found. - * Returns -EADDRNOTAVAIL if a root hash was specified but no matching root/verity partitions found. */ + * Returns -EADDRNOTAVAIL if a root hash was specified but no matching root/verity partitions found. + * Returns -ENXIO if we couldn't find any partition suitable as root or /usr partition + * Returns -ENOTUNIQ if we only found multiple generic partitions and thus don't know what to do with that */ if (verity && verity->root_hash) { sd_id128_t fsuuid, vuuid; -- 2.47.3