Re: [RFC] mount can figure out fstype automatically

From: Christoph Hellwig <hch_at_infradead.org>
Date: Sat, 8 Jul 2006 18:46:06 +0100
On Sat, Jul 08, 2006 at 09:05:51AM -0700, Sam Leffler wrote:
> Linux has -t auto; haven't looked at how it works.

It's implemented in mount(8).  It has a table of magic numbers and offsets
and tries all of them in a well defined order.  If everything fails it
tries a few heuristics whether the filesystems might be a FAT filesystem
as thos don't have magic numbers.
Received on Sat Jul 08 2006 - 15:46:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:58 UTC