From owner-freebsd-stable@FreeBSD.ORG Sun Dec 26 10:47:49 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9560106566C for ; Sun, 26 Dec 2010 10:47:49 +0000 (UTC) (envelope-from ruben@verweg.com) Received: from erg.verweg.com (erg.verweg.com [IPv6:2a02:898:96::5e8e:f508]) by mx1.freebsd.org (Postfix) with ESMTP id 5F7E58FC12 for ; Sun, 26 Dec 2010 10:47:49 +0000 (UTC) Received: from [IPv6:2001:888:1029::226:bbff:fe1a:76b5] ([IPv6:2001:888:1029:0:226:bbff:fe1a:76b5]) (authenticated bits=0) by erg.verweg.com (8.14.4/8.14.4) with ESMTP id oBQAlgRk087122 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Sun, 26 Dec 2010 10:47:47 GMT (envelope-from ruben@verweg.com) X-Authentication-Warning: erg.verweg.com: Host [IPv6:2001:888:1029:0:226:bbff:fe1a:76b5] claimed to be [IPv6:2001:888:1029::226:bbff:fe1a:76b5] Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1082) From: Ruben van Staveren In-Reply-To: Date: Sun, 26 Dec 2010 11:47:41 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <91EDEEE8-215F-438D-923E-12A75F7B2C88@verweg.com> References: <20101226073156.GA84868@mail.hs.ntnu.edu.tw> To: FreeBSD Stable X-Mailer: Apple Mail (2.1082) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (erg.verweg.com [IPv6:2a02:898:96::5e8e:f508]); Sun, 26 Dec 2010 10:47:47 +0000 (UTC) Subject: Re: unable to pwd in ZFS snapshot X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Dec 2010 10:47:49 -0000 On 26 Dec 2010, at 10:05, Daniel Braniss wrote: >> On Sun, Dec 26, 2010 at 09:26:13AM +0200, Daniel Braniss wrote: >>> this is still broken in 8.2-PRERELEASE, there seems to be a patch, = but >>> it's almost a year old. >>> http://people.freebsd.org/~jh/patches/zfs-ctldir-vptocnp.diff >>=20 >> Setting snapdir to visible should fix this right away: >> # zfs set snapdir=3Dvisible tank/foo >>=20 > it did indeed! > any reason why this should not be the default behaviour? Personally, I want to have the snapshot, but not see the directory = otherwise so that it doesn't get scooped up by rsync et al inadvertently=20= >=20 > thanks, > danny Cheers, Ruben=