From: Lennart Poettering Date: Wed, 10 Mar 2021 15:58:54 +0000 (+0100) Subject: dissect-image: extend comment on returned errors a bit X-Git-Tag: v249-rc1~509^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2679f407353aa408c5e48f86866a45390c247e45;p=thirdparty%2Fsystemd.git dissect-image: extend comment on returned errors a bit --- 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;