public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: Phillip Susi <psusi@ubuntu.com>
Cc: Matthias Schniedermeyer <ms@citd.de>, util-linux@vger.kernel.org
Subject: Re: Filesystem specific mount options mixed with auto fs type
Date: Fri, 11 Oct 2013 16:09:54 +0200	[thread overview]
Message-ID: <20131011140954.GD24613@x2.net.home> (raw)
In-Reply-To: <525800EB.9060208@ubuntu.com>

On Fri, Oct 11, 2013 at 09:45:15AM -0400, Phillip Susi wrote:
> > Maybe we can improve mount(8) to test all entries from /etc/fstab 
> > with the same mountpoint (if you want to mount-by-mountpoint) until
> > the filesystem will be mounted successfully. But I have doubts that
> > we really need to resolve this very old disadvantage.
> 
> Maybe something like:
> 
> /dev/fd0 /mnt/floppy auto,vfat utf8
                       ^^^^^^^^^
 This is unacceptable, fstab is de-facto standard. We have to be
 backwardly compatible.

> /dev/fd0 /mnt/floppy auto generic-options
> 
> The auto would trigger blkid to identify the filesystem, and then only
> if it matches one of the additional listed filesystems would that line
> be applied.
 
 I thought something like:

        /dev/fd0 /mnt/floppy    vfat    utf8
        /dev/fd0 /mnt/floppy    auto    default

 and then try in loop all the filesystem types for the mountpoint (or 
 make it smart and ask blkid for the type).

    Karel


-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

  reply	other threads:[~2013-10-11 14:35 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
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 [this message]
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=20131011140954.GD24613@x2.net.home \
    --to=kzak@redhat.com \
    --cc=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