Re: [PATCH] isofs: mounting to regular file may succeed

From: Christoph Hellwig
Date: Tue Jul 17 2007 - 03:08:27 EST


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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/