Re: VFS issues (was: Re: 2.5.5-pre1: mounting NTFS partitions -t

Richard Russon (ntfs@flatcap.org)
19 Feb 2002 11:52:18 +0000


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/