From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frank van Maarseveen Subject: Re: The argument for fs assistance in handling archives (was: silent semantic changes with reiser4) Date: Fri, 3 Sep 2004 00:56:34 +0200 Message-ID: <20040902225634.GA5756@janus> References: <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> <20040902223324.GG23987@parcelfarce.linux.theplanet.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Frank van Maarseveen , 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 Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com To: viro@parcelfarce.linux.theplanet.co.uk Content-Disposition: inline In-Reply-To: <20040902223324.GG23987@parcelfarce.linux.theplanet.co.uk> List-Id: linux-fsdevel.vger.kernel.org On Thu, Sep 02, 2004 at 11:33:24PM +0100, viro@parcelfarce.linux.theplanet.co.uk wrote: > > 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! so? A user can stick an USB memory card with _any_ malformed fs data and make troubles via the automounter or user mounts. Yes, mount might do some more checks but it sure won't do an fsck. The user gets what he deserves when sticking crap in an USB port. And that doesn't mean that the kernel should accept any fs image when a user tries to cd into the file. -- Frank