From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH] isofs: mounting to regular file may succeed Date: Tue, 17 Jul 2007 08:08:14 +0100 Message-ID: <20070717070814.GA10395@infradead.org> References: <20070713234721.GG4536@zetta.epsmu.com> <20070717000407.4c854ec8.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Kirill Kuvaldin , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Christoph Hellwig , Al Viro To: Andrew Morton Return-path: Received: from pentafluge.infradead.org ([213.146.154.40]:41667 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759029AbXGQHIQ (ORCPT ); Tue, 17 Jul 2007 03:08:16 -0400 Content-Disposition: inline In-Reply-To: <20070717000407.4c854ec8.akpm@linux-foundation.org> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Tue, Jul 17, 2007 at 12:04:07AM -0700, Andrew Morton wrote: > I don't think any (all?) other filesystems perform checks like this. > Is this something which can/should be performed at the VFS level? As far as the VFS is concerned non-directory mounts are perfectly fine. There's a lot of use cases for non-directory bind-mounts and at least some for regular filesystems with a non-directory root. E.g. the streams folks are using something like that. Solaris even ships with non-directory root filesystems mounted by default these days.