Re: Filesystem specific mount options mixed with auto fs type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux