Util-Linux package development
 help / color / mirror / Atom feed
From: Davidlohr Bueso <dave@gnu.org>
To: Bernhard Voelker <mail@bernhard-voelker.de>
Cc: util-linux@vger.kernel.org
Subject: Re: losetup --all --verbose results in usage
Date: Wed, 17 Aug 2011 10:22:21 -0400	[thread overview]
Message-ID: <1313590941.2653.1.camel@offbook> (raw)
In-Reply-To: <4E4BCC65.2060100@bernhard-voelker.de>

On Wed, 2011-08-17 at 16:12 +0200, Bernhard Voelker wrote:
> I was surprised that running
> 	mount/losetup --all --verbose
> results in usage().
> 
> As -a is the option to list all used loop devices,
> one might think that -v adds some more info to the output.
> 

The verbose option is quite broken, yes.

> Neither --help nor the man pages nor the info page tells
> that -a doesn't accept other options:
> 
> mount/lomount.c (line 1133):
> 
>          } else if (all) {
>                  if (argc > 2)
>                          usage(stderr);
> 
> Should we work on this?

I'm actually rewriting this tool to make use of our new loop library.
I'll address this issue here as well, thanks for the heads up.

- Davidlohr


  reply	other threads:[~2011-08-17 14:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-17 14:12 losetup --all --verbose results in usage Bernhard Voelker
2011-08-17 14:22 ` Davidlohr Bueso [this message]
2011-08-17 14:55   ` Bernhard Voelker
2011-08-17 14:44 ` Karel Zak
2011-08-17 15:01   ` Bernhard Voelker

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=1313590941.2653.1.camel@offbook \
    --to=dave@gnu.org \
    --cc=mail@bernhard-voelker.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