Re: [RFC] mount can figure out fstype automatically
- From: Scott Long <scottl@xxxxxxxxxx>
- Date: Mon, 10 Jul 2006 13:06:02 -0600
Christoph Hellwig wrote:
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.
So in your opinion and experience, what are the pros and cons of maintaining a table of magic numbers?
Scott
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: [RFC] mount can figure out fstype automatically
- From: Christoph Hellwig
- Re: [RFC] mount can figure out fstype automatically
- From: Craig Rodrigues
- Re: [RFC] mount can figure out fstype automatically
- References:
- [RFC] mount can figure out fstype automatically
- From: Craig Rodrigues
- Re: [RFC] mount can figure out fstype automatically
- From: Sam Leffler
- Re: [RFC] mount can figure out fstype automatically
- From: Christoph Hellwig
- [RFC] mount can figure out fstype automatically
- Prev by Date: Re: weird limitation on the system's binutils
- Next by Date: Re: [RFC] mount can figure out fstype automatically
- Previous by thread: Re: [RFC] mount can figure out fstype automatically
- Next by thread: Re: [RFC] mount can figure out fstype automatically
- Index(es):
Relevant Pages
|
|