util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrea Monaco <andrea.monaco@autistici.org>
To: util-linux@vger.kernel.org
Subject: mount: misleading and generic error when trying to mount bad image
Date: Fri, 15 Oct 2021 16:03:19 +0200	[thread overview]
Message-ID: <87mtnamllk.fsf@autistici.org> (raw)


Hello,


whenever I try to mount a badly formatted image, like with

  # mount -o loop test.img /mnt/test

I get the error

  mount: /mnt/test: wrong fs type, bad option, bad superblock on
  /dev/loop0, missing codepage or helper program, or other error.


This message seems too vague to me.  Also, the error is about test.img
rather than /mnt/test, so why prefix the message with the mount point?

If you agree with my point, maybe I can work on improving those.



Let me know,

Andrea Monaco

                 reply	other threads:[~2021-10-15 14:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87mtnamllk.fsf@autistici.org \
    --to=andrea.monaco@autistici.org \
    --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;
as well as URLs for NNTP newsgroup(s).