mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nuno Monteiro <nuno@itsari.org>
To: "Pozsár Balázs" <pozsy@uhulinux.hu>
Cc: Linux Kernel ML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Re: msdos/vfat defaults are annoying
Date: Mon, 7 Feb 2005 02:48:00 +0000	[thread overview]
Message-ID: <20050207024800.GA18010@hobbes.itsari.int> (raw)
In-Reply-To: <20050207004218.GA12541@ojjektum.uhulinux.hu> (from pozsy@uhulinux.hu on Mon, Feb 07, 2005 at 00:42:18 +0000)


On 2005.02.07 00:42, Pozsár Balázs wrote:
> On Mon, Feb 07, 2005 at 12:36:10AM +0000, Al Viro wrote:
> > On Mon, Feb 07, 2005 at 12:21:08AM +0100, Pozsar Balazs wrote:
> > > On Sun, Feb 06, 2005 at 07:06:59AM +0000, Christoph Hellwig wrote:
> > > > filesystem detection isn't handled at the kerne level.
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> 
> IIRC currently if both msdos and vfat are compiled in (not modules),  
> and
> 
> you try to mount a vfat filesystem without explicitly specifying the fs
> type, it will be mounted with the msdos type. With the, it will mounted
> vfat.
>


But since filesystem detection isn't handled in the kernel, changing the  
link order is pointless. Please fix your /etc/filesystems instead.

~# grep camera /etc/fstab
/dev/sda1 /mnt/camera auto users,noauto 0 0
~# strace -o mount.trace mount /mnt/camera
~# grep filesystems mount.trace
open("/etc/filesystems", O_RDONLY|O_LARGEFILE) = 3
~# cat /etc/filesystems
ext2
ext3
nodev proc
nodev devpts
iso9660
reiserfs
vfat
udf

Also check man 8 mount, specifically option -t:

[...] Creating a  file /etc/filesystems can be useful to change the probe  
order (e.g., to try vfat before msdos) ...

This is from man-pages 1.66, btw.


Regards,


		Nuno

  reply	other threads:[~2005-02-07  2:48 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-06  5:33 John Richard Moser
2005-02-06  7:06 ` Christoph Hellwig
2005-02-06 16:29   ` John Richard Moser
2005-02-06 23:21   ` [PATCH] " Pozsar Balazs
2005-02-07  0:36     ` Al Viro
2005-02-07  0:42       ` Pozsár Balázs
2005-02-07  2:48         ` Nuno Monteiro [this message]
2005-02-07  8:47           ` Pozsár Balázs
2005-02-07 12:53             ` Michelle Konzack
2005-02-07 21:59               ` Ingo Oeser
2005-02-07 14:27             ` Nuno Monteiro
2005-02-08 23:09             ` H. Peter Anvin
2005-02-07  6:53       ` Clemens Schwaighofer
2005-02-07 11:29         ` Andries Brouwer
2005-02-07 12:45           ` Pozsár Balázs
2005-02-07 14:00           ` Clemens Schwaighofer
2005-02-08  0:23             ` Horst von Brand
2005-02-08  2:24               ` Clemens Schwaighofer
2005-02-06 11:15 ` Michelle Konzack

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=20050207024800.GA18010@hobbes.itsari.int \
    --to=nuno@itsari.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pozsy@uhulinux.hu \
    /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

all inboxes | Powered by JetHome®