Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S269161AbUIBWfl (ORCPT ); Thu, 2 Sep 2004 18:35:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S269158AbUIBWfb (ORCPT ); Thu, 2 Sep 2004 18:35:31 -0400 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:50597 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id S269161AbUIBWdZ (ORCPT ); Thu, 2 Sep 2004 18:33:25 -0400 Date: Thu, 2 Sep 2004 23:33:24 +0100 From: viro@parcelfarce.linux.theplanet.co.uk To: Frank van Maarseveen Cc: Dave Kleikamp , Alan Cox , Linus Torvalds , Jamie Lokier , Horst von Brand , Adrian Bunk , Hans Reiser , Christoph Hellwig , fsdevel , Linux Kernel Mailing List , Alexander Lyamin aka FLX , ReiserFS List Subject: Re: The argument for fs assistance in handling archives (was: silent semantic changes with reiser4) Message-ID: <20040902223324.GG23987@parcelfarce.linux.theplanet.co.uk> References: <1094118362.4847.23.camel@localhost.localdomain> <20040902203854.GA4801@janus> <1094160994.31499.19.camel@shaggy.austin.ibm.com> <20040902214806.GA5272@janus> <20040902220027.GD23987@parcelfarce.linux.theplanet.co.uk> <20040902220242.GA5414@janus> <20040902220640.GE23987@parcelfarce.linux.theplanet.co.uk> <20040902221133.GB5414@janus> <20040902221722.GF23987@parcelfarce.linux.theplanet.co.uk> <20040902222650.GA5523@janus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040902222650.GA5523@janus> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1034 Lines: 21 On Fri, Sep 03, 2004 at 12:26:50AM +0200, Frank van Maarseveen wrote: > On Thu, Sep 02, 2004 at 11:17:22PM +0100, viro@parcelfarce.linux.theplanet.co.uk wrote: > > > > What knowledge does the kernel have about fs type that could deal with the > > contents of given device? Details, please. > > Try a "make tags;grep SUPER_MAGIC tags". > Or is it there for a different purpose? RTFS and you'll see. Individual fs generally knows how to check if it would be immediately unhappy with given image (not all types do, BTW). Exact form of checks depends on fs type; for crying out loud, there's not even a promise that they are mutually exclusive! Read the fucking source. Read through the code that "chooses" fs type of root fs. Look at it. Then use whatever you have between your ears. - 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/