Use warnx(), as there is no strerror() text associated with it. There is currently no easy way to report name and type of conflict. Signed-off-by: Stanislav Brabec <sbrabec@xxxxxxx> --- sys-utils/mount.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys-utils/mount.c b/sys-utils/mount.c index 23856c1..92526cf 100644 --- a/sys-utils/mount.c +++ b/sys-utils/mount.c @@ -455,6 +455,9 @@ try_readonly: case -MNT_ERR_LOOPDEV: warn(_("%s: failed to setup loop device"), src); return MOUNT_EX_FAIL; + case -MNT_ERR_LOOPOVERLAP: + warnx(_("%s: overlapping loop device exists"), src); + return MOUNT_EX_FAIL; default: return handle_generic_errors(rc, _("%s: mount failed"), tgt ? tgt : src); -- 2.9.0 -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@xxxxxxxx Křižíkova 148/34 (Corso IIa) tel: +49 911 7405384547 186 00 Praha 8-Karlín fax: +420 284 084 001 Czech Republic http://www.suse.cz/ PGP: 830B 40D5 9E05 35D8 5E27 6FA3 717C 209F A04F CD76 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html