public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: Ruediger Meier <sweet_f_a@gmx.de>
To: util-linux@vger.kernel.org
Subject: losesetup -f, broken error handling
Date: Mon, 12 May 2014 15:10:45 +0200	[thread overview]
Message-ID: <201405121510.46066.sweet_f_a@gmx.de> (raw)

Hi,

When having a kernel without loop device support
$ losetup -f 
returns 0 and no warning on stderr

With older util-linux I get error and nice message on stderr
$ losetup -f
losetup: Could not find any loop device. Maybe this kernel does not know
about the loop device? (If so, recompile or `modprobe loop'.)

I guess this is broken since c7e0925d.

Woule be nice to have this again.

cu,
Rudi

             reply	other threads:[~2014-05-12 13:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-12 13:10 Ruediger Meier [this message]
2014-05-13  9:20 ` losesetup -f, broken error handling Karel Zak
2014-05-13 21:11   ` Ruediger Meier
2014-05-14 11:04     ` Karel Zak
2014-05-14 12:56       ` Ruediger Meier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201405121510.46066.sweet_f_a@gmx.de \
    --to=sweet_f_a@gmx.de \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox