public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthias Schniedermeyer <ms@citd.de>
To: Phillip Susi <psusi@ubuntu.com>
Cc: util-linux@vger.kernel.org
Subject: Re: Filesystem specific mount options mixed with auto fs type
Date: Thu, 10 Oct 2013 19:03:30 +0200	[thread overview]
Message-ID: <20131010170330.GA19031@citd.de> (raw)
In-Reply-To: <5256B7CF.7010103@ubuntu.com>

On 10.10.2013 10:21, Phillip Susi wrote:
> 
> I came across an old bug report where the user had set the utf8 mount
> option in /etc/fstab on a floppy, presumably to apply to a fat
> filesystem, but when a disk formatted with ext2 was used, the mount
> failed sine ext2 doesn't support this option.
> 
> That got me wondering, how are you supposed to specify mount options
> with the auto fs type?  Certainly you don't just have to limit the
> options to ones that are universal to all filesystems?  But how to
> specify that these options are for fs A, and these for fs B?

AFAIK "mount -s" is just for that case:

- man mount -
      -s Tolerate sloppy mount options rather than failing. This will 
ignore mount options not supported by a filesystem type. Not all 
filesystems support this option. This option exists for support of the 
Linux autofs-based automounter.
- man mount -




-- 

Matthias

  reply	other threads:[~2013-10-10 17:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-10 14:21 Filesystem specific mount options mixed with auto fs type Phillip Susi
2013-10-10 17:03 ` Matthias Schniedermeyer [this message]
2013-10-10 17:29   ` Phillip Susi
2013-10-11  8:37     ` Karel Zak
2013-10-11 13:45       ` Phillip Susi
2013-10-11 14:09         ` Karel Zak
2013-10-11 14:40           ` Phillip Susi
2013-10-11 17:17         ` Karel Zak

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=20131010170330.GA19031@citd.de \
    --to=ms@citd.de \
    --cc=psusi@ubuntu.com \
    --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