From owner-freebsd-fs@FreeBSD.ORG Thu Feb 4 20:56:01 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3ADFD106568B; Thu, 4 Feb 2010 20:56:01 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello089077043238.chello.pl [89.77.43.238]) by mx1.freebsd.org (Postfix) with ESMTP id 760BA8FC19; Thu, 4 Feb 2010 20:55:59 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 851F845CBA; Thu, 4 Feb 2010 21:55:56 +0100 (CET) Received: from localhost (chello089077043238.chello.pl [89.77.43.238]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 44B7A45C8C; Thu, 4 Feb 2010 21:55:51 +0100 (CET) Date: Thu, 4 Feb 2010 21:55:46 +0100 From: Pawel Jakub Dawidek To: Randy Sofia Message-ID: <20100204205546.GA1733@garage.freebsd.pl> References: <4b473c1f1002032014y4da8c0f0xcb74c749332cced3@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k+w/mQv8wyuph6w0" Content-Disposition: inline In-Reply-To: <4b473c1f1002032014y4da8c0f0xcb74c749332cced3@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.6 required=4.5 tests=BAYES_00,RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: freebsd-fs@freebsd.org, Jaakko Heinonen Subject: Re: Unable to pwd in ZFS snapshot X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2010 20:56:01 -0000 --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 03, 2010 at 11:14:37PM -0500, Randy Sofia wrote: > `pwd` returns "No such file or directory" when browsing snapshot files. T= his > was addressed in: > http://lists.freebsd.org/pipermail/freebsd-fs/2009-February/005675.html = but > remains the same as of 8.0-RELEASE. >=20 > I am wondering if this is the expected behavior or if this was left by the > wayside. >=20 > A work around is available as per the previous discussion: > zfs set snapdir=3Dvisible volume >=20 > Reproducible behavior: > CANAAN# zfs snapshot pithos/media@0_day_ago > CANAAN# cd /pithos/media/.zfs/snapshot/0_day_ago/ > CANAAN# pwd > pwd: .: No such file or directory > CANAAN# uname -a > FreeBSD CANAAN 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Fri Dec 18 00:38:33 UTC > 2009 root@:/usr/obj/usr/src/sys/CANAAN amd64 It was reported to me by Jaakko some time ago, that r197513 (committed by me) is responsible for this breakage. Unfortunately I had no time to fix it yet. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --k+w/mQv8wyuph6w0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAktrNFIACgkQForvXbEpPzQbpwCg70a3azuet1EwIe4BxuFA7k5H sU4An1CpB2bLorGTYPLWYj8gdODVaY2y =0cTD -----END PGP SIGNATURE----- --k+w/mQv8wyuph6w0--