Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761762AbXFTFBn (ORCPT ); Wed, 20 Jun 2007 01:01:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755905AbXFTFBe (ORCPT ); Wed, 20 Jun 2007 01:01:34 -0400 Received: from terminus.zytor.com ([192.83.249.54]:36796 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755405AbXFTFBd (ORCPT ); Wed, 20 Jun 2007 01:01:33 -0400 Message-ID: <4678B46F.7070506@zytor.com> Date: Tue, 19 Jun 2007 22:00:31 -0700 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.0 (X11/20070419) MIME-Version: 1.0 To: Trond Myklebust CC: Bryan Henderson , Lennart Sorensen , akpm@linux-foundation.org, alan , Chris Snook , Jack Stone , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, viro@zeniv.linux.org.uk Subject: Re: Versioning file system References: <1182299263.6504.8.camel@heimdal.trondhjem.org> In-Reply-To: <1182299263.6504.8.camel@heimdal.trondhjem.org> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1078 Lines: 25 Trond Myklebust wrote: >> >> I assume NetApp flags the directory specially so that a POSIX directory >> read doesn't get it. I've seen that done elsewhere. > > No. The directory is quite visible with a standard 'ls -a'. Instead, > they simply mark it as a separate volume/filesystem: i.e. the fsid > differs when you call stat(). The whole thing ends up acting rather like > our bind mounts. > It means that you avoid all those nasty user issues where people try to > hard link to/from .snapshot directories, rename files across snapshot > boundaries, etc. > Last I used a Netapp, it was configurable, I believe; I seem to also vaguely remember that one could configure it so that it only was accessible as part of a mount string rather than as part of an already-mounted filesystem. Of course, this was a long time ago. -hpa - 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/