All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Dubbs <bruce.dubbs@gmail.com>
To: helmut@hullen.de
Cc: Helmut Hullen <hhullen@aktivanet.de>, util-linux@vger.kernel.org
Subject: Re: mount error message
Date: Wed, 10 Sep 2014 02:03:45 -0500	[thread overview]
Message-ID: <540FF7D1.4010608@gmail.com> (raw)
In-Reply-To: <D0PbA82ReQB@helmut.hullen.de>

Helmut Hullen wrote:
> Hallo, Bruce,
>
> Du meintest am 07.09.14:
>
>> I have a user that complains that mount is giving an incorrect error
>> message under some circumstances.  For instance if mtab is symlinked
>> to /proc/self/mounts the command and /run is not in fstab:
>
>> $ mount /run
>
>> returns an error message:
>
>>     mount: /run: No such file or directory
>
>> However if mtab is a regular file, the error message is:
>
>>     mount: can't find /run in /etc/fstab
>
>> It would be appropriate if both situations could return the 2nd
>> message.
>
> There's no need to put the device into a special line in "/etc/fstab".
>
>          mount /dev/sdxn /run
>
> should always work, with the appropriate values for x and n.

Unless your script does not know what x or n are in advance.

Actually I followed up my original post and said the it was invalid.

   -- Bruce

  reply	other threads:[~2014-09-10  7:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-07 18:19 mount error message Bruce Dubbs
2014-09-07 20:13 ` Helmut Hullen
2014-09-10  7:03   ` Bruce Dubbs [this message]
2014-09-07 20:57 ` Dale R. Worley
2014-09-10  8:47 ` Karel Zak
2014-09-11  1:52   ` Dylan Cali
2014-09-16 13:36     ` Karel Zak
2014-09-16 16:13       ` Dylan Cali

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=540FF7D1.4010608@gmail.com \
    --to=bruce.dubbs@gmail.com \
    --cc=helmut@hullen.de \
    --cc=hhullen@aktivanet.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.