public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Fernando Rodriguez <frodriguez.developer@outlook.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Strange new behavior from the "mount" command
Date: Sun, 19 Apr 2015 20:28:49 -0400	[thread overview]
Message-ID: <3264362.NMRktOaQju@navi> (raw)
In-Reply-To: <mh19jv$ivi$1@ger.gmane.org>

On Sunday, April 19, 2015 3:18:38 PM walt wrote:
> 
> As a quick-and-dirty way of testing your idea I moved /etc/fstab out of the 
way.
> 
> I was surprised to learn that "mount" doesn't care about fstab, and doesn't 
even
> bother to look for it (when invoked with no arguments).
> 

You'll have to play with the options to test my idea. It doesn't need to 
access it when called without arguments but it does (either directly or 
indirectly) when mounting volumes, either by mount -a at boot or whatever was 
used to mount them. Since mount(8) is an interface to mount(2) and friends, 
all the mount options are already cached by the kernel and it'll have access 
to them. You can also tell if the mount options on fstab are overriden by 
something else by comparing the output of mount (with no args) with your fstab 
file.

-- 
Fernando Rodriguez


  reply	other threads:[~2015-04-20  0:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-18 18:48 [gentoo-user] Strange new behavior from the "mount" command walt
2015-04-18 21:31 ` Paul Colquhoun
2015-04-18 22:59   ` [gentoo-user] " walt
2015-04-19  0:33     ` Fernando Rodriguez
2015-04-19 22:18       ` walt
2015-04-20  0:28         ` Fernando Rodriguez [this message]
2015-04-20  0:45         ` Mike Gilbert
2015-04-20 19:21           ` walt
2015-04-20 20:01             ` Mike Gilbert
2015-04-20 20:06               ` Mike Gilbert

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=3264362.NMRktOaQju@navi \
    --to=frodriguez.developer@outlook.com \
    --cc=gentoo-user@lists.gentoo.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