Messages in this thread | | | Date | Mon, 16 Jun 2003 13:21:28 +0200 | From | Andries Brouwer <> | Subject | Re: [PATCH] make cramfs look less hostile |
| |
On Mon, Jun 16, 2003 at 11:12:15AM +0200, J?rn Engel wrote: > On Sun, 15 June 2003 23:49:09 +0200, Andries Brouwer wrote: > > On Sun, Jun 15, 2003 at 07:18:53PM +0100, Christoph Hellwig wrote: > > > > > > The only places where this should happen is mounting the rootfs. > > > mount(8) has it's own filesystem type detection code and doesn't > > > call mount(2) unless it found a matching filesystem type. > > > > Too optimistic a description. > > Any person who likes reliable results will give mount a -t option. > > If someone likes to gamble, and doesnt mind system crashes, he'll > > omit the -t and let mount guess what the type should have been. > > Mount has a battery of heuristics for a handful of filesystems. > > If any of these succeeds mount will try that type. > > If none succeeds, mount will try consecutively all types listed > > in /proc/filesystems for which no heuristic is present. > > Actually, I have one example of reality matching Christoph's > description, so he wins this fight as well.
Please don't distribute misinformation. If you doubt, read the mount(8) code first.
- 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/
| |