From owner-freebsd-fs@FreeBSD.ORG Sat Feb 7 20:46:52 2009 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 E79AC1065674 for ; Sat, 7 Feb 2009 20:46:52 +0000 (UTC) (envelope-from peter@vk2pj.dyndns.org) Received: from fallbackmx08.syd.optusnet.com.au (fallbackmx08.syd.optusnet.com.au [211.29.132.10]) by mx1.freebsd.org (Postfix) with ESMTP id 6604C8FC16 for ; Sat, 7 Feb 2009 20:46:52 +0000 (UTC) (envelope-from peter@vk2pj.dyndns.org) Received: from mail16.syd.optusnet.com.au (mail16.syd.optusnet.com.au [211.29.132.197]) by fallbackmx08.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n17K9OV0018833 for ; Sun, 8 Feb 2009 07:09:24 +1100 Received: from test71.vk2pj.dyndns.org (c122-106-216-167.belrs3.nsw.optusnet.com.au [122.106.216.167]) by mail16.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n17K9L56031121 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 8 Feb 2009 07:09:22 +1100 X-Bogosity: Ham, spamicity=0.000000 Received: from test71.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by test71.vk2pj.dyndns.org (8.14.3/8.14.3) with ESMTP id n17K9KNT009914 for ; Sun, 8 Feb 2009 07:09:20 +1100 (EST) (envelope-from peter@test71.vk2pj.dyndns.org) Received: (from peter@localhost) by test71.vk2pj.dyndns.org (8.14.3/8.14.3/Submit) id n17K9JXN009913 for freebsd-fs@freebsd.org; Sun, 8 Feb 2009 07:09:19 +1100 (EST) (envelope-from peter) Date: Sun, 8 Feb 2009 07:09:19 +1100 From: Peter Jeremy To: freebsd-fs@freebsd.org Message-ID: <20090207200918.GA58657@test71.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GvXjxJ+pjyke8COw" Content-Disposition: inline X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.18 (2008-05-17) Subject: 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: Sat, 07 Feb 2009 20:46:53 -0000 --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I'm running -current from late last year (just after the ZFS v13 import) and have found that I can't determine the current working directory inside a snapshot: # df -k /usr/ports/.zfs/snapshot/pre_7.4 Filesystem 1024-blocks Used Avail Capacity Mounted on tank/ports@pre_7.4 877019136 31293824 845725312 4% /usr/ports/.zfs= /snap shot/pre_7.4 # cd /usr/ports/.zfs/snapshot/pre_7.4 # pwd pwd: .: No such file or directory # ls . =2Ecvsignore accessibility dns math security CHANGES arabic editors mbone shells COPYRIGHT archivers emulators misc sysutils CVS astro finance multimedia textproc GIDs audio french net ukrainian INDEX-7 benchmarks ftp net-im vietnamese INDEX-8 biology games net-mgmt work KNOBS build.cvsupdate german net-p2p www LEGAL build.diffs graphics news x11 MOVED cad hebrew packages x11-clocks Makefile chinese hungarian palm x11-drivers Mk comms irc polish x11-fm README converters japanese ports-mgmt x11-fonts Templates databases java portuguese x11-servers Tools deskutils korean print x11-themes UIDs devel lang russian x11-toolkits UPDATING distfiles mail science x11-wm #=20 This breaks (eg) make. I got around it by cloning the snapshot but this behaviour strikes me as counter-intuitive (and the error message leaves something to be desired). --=20 Peter Jeremy --GvXjxJ+pjyke8COw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkmN6m4ACgkQ/opHv/APuIfoUACdEKTd9KlftfT/4WGMfJt4QD+6 TFgAniYt34ZbL2gBfHFSP1okBCS68nTk =SGv5 -----END PGP SIGNATURE----- --GvXjxJ+pjyke8COw--