mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Steve Dodd <steved@loth.demon.co.uk>
To: "Stephen C. Tweedie" <sct@redhat.com>
Cc: ext3-users@redhat.com, Florian Lohoff <flo@rfc822.org>,
	linux-kernel@vger.kernel.org
Subject: Re: ext3 message if FS is not ext3
Date: Sat, 26 May 2001 10:54:39 +0100	[thread overview]
Message-ID: <20010526105439.A7302@lilith.loth.demon.co.uk> (raw)
In-Reply-To: <20010523140013.A883@paradigm.rfc822.org> <20010523130616.B8080@redhat.com>
In-Reply-To: <20010523130616.B8080@redhat.com>; from sct@redhat.com on Wed, May 23, 2001 at 01:06:16PM +0100

On Wed, May 23, 2001 at 01:06:16PM +0100, Stephen C. Tweedie wrote:
> On Wed, May 23, 2001 at 02:00:13PM +0200, Florian Lohoff wrote:

> > i think this message should be removed ;)
[..]
> > VFS: Can't find an ext3 filesystem on dev fd(2,0).

> mount(8) tried to get the kernel to mount /dev/fd0 as an ext3
> filesystem.  The kernel is entitled to emit an error in that case.
> ext2 will complain too.

Shouldn't it be doing the mount 'silently' when mount(8) is guessing the
filesystem type? I'm seeing this too (2.2.19 + ext3 0.0.6b):

lilith:tmp$ cat /etc/filesystems
ext3
vfat
lilith:tmp$ grep floppy /etc/fstab
/dev/fd0 /floppy auto noauto,nodev,nosuid,user 0 0
lilith:tmp$ # with a VFAT filesystem on /dev/fd0:
lilith:tmp$ mount /floppy
VFS: Can't find an ext3 filesystem on dev fd(2,0).

Looking at the kernel source, read_super (and hence ext3_read_super) are only
called with silent=1 when mounting the root filesystem. I believe mount(8)
checks for magic numbers at the start of the filesystem, and so avoids
attempting a mount for ext2 or various others.

As the kernel (2.2 or 2.4) doesn't seem to provide a way for userspace to
request a silent mount, I don't know whose (if anyone's) bug this is.

-- 
PGP signed or encrypted mail preferred, key ID 0x68383A73.
Please *do* Cc: me on mailing list replies.

       reply	other threads:[~2001-05-26 23:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20010523140013.A883@paradigm.rfc822.org>
     [not found] ` <20010523130616.B8080@redhat.com>
2001-05-26  9:54   ` Steve Dodd [this message]
2001-05-28  9:37     ` Stephen C. Tweedie

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=20010526105439.A7302@lilith.loth.demon.co.uk \
    --to=steved@loth.demon.co.uk \
    --cc=ext3-users@redhat.com \
    --cc=flo@rfc822.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sct@redhat.com \
    /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®