public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Richard Russon <ntfs@flatcap.org>
To: Jos Hulzink <josh@stack.nl>
Cc: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>,
	Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: Re: VFS issues (was: Re: 2.5.5-pre1: mounting NTFS partitions -t VFAT)
Date: 19 Feb 2002 11:52:18 +0000	[thread overview]
Message-ID: <1014119542.2788.10.camel@addlestones> (raw)
In-Reply-To: <20020219102539.J93925-100000@snail.stack.nl>
In-Reply-To: <20020219102539.J93925-100000@snail.stack.nl>

Hi Jos,

> The first question I want answered: Should I just call myself stupid for
> trying to mount NTFS as VFAT, or should we consider this a real issue that
> needs fixing ?

Stupid?  No.
Fixing?  Yes.

Whatever you throw at mount, you want it to fail_safe_.  i.e. in the
worst case, do nothing.

> While mounting a partition, the vfs layer tries to determine the partition
> type,

Without any help, mount (userspace) tries to determine the partition
type.  It understands the magics of a LOT of filesystems.

It looks for the NTFS magic before the DOS magic (or any of its variants).

> and passes that info to the filesystem driver

Which is passed to the VFS, and the to the driver which performs some
more rigid tests (hopefully :-)

Cheers,
  FlatCap (Rich)
  ntfs@flatcap.org



  reply	other threads:[~2002-02-19 11:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-15 10:30 2.5.5-pre1: mounting NTFS partitions -t VFAT Jos Hulzink
2002-02-15 17:11 ` Anton Altaparmakov
2002-02-15 20:18 ` OGAWA Hirofumi
2002-02-18 12:55   ` Jos Hulzink
2002-02-18 14:56     ` OGAWA Hirofumi
2002-02-19 10:02       ` VFS issues (was: Re: 2.5.5-pre1: mounting NTFS partitions -t VFAT) Jos Hulzink
2002-02-19 11:52         ` Richard Russon [this message]
2002-02-19 12:48           ` Jos Hulzink
2002-02-19 13:34         ` Alexander Viro
2002-02-19 14:25         ` Denis Vlasenko
2002-02-19 11:03           ` Jos Hulzink
2002-03-09  9:50       ` [BUG] 2.5.6: IPv6 fails to initialize Jos Hulzink
2002-03-09 20:55         ` Ben Clifford
2002-03-11 17:58         ` David S. Miller
  -- strict thread matches above, loose matches on Subject: below --
2002-02-19 12:21 VFS issues (was: Re: 2.5.5-pre1: mounting NTFS partitions -t VFAT) Andries.Brouwer

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=1014119542.2788.10.camel@addlestones \
    --to=ntfs@flatcap.org \
    --cc=hirofumi@mail.parknet.co.jp \
    --cc=josh@stack.nl \
    --cc=linux-kernel@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