Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 2010 23:14:37 -0500
From:      Randy Sofia <randysofia@gmail.com>
To:        freebsd-fs@freebsd.org
Subject:   Unable to pwd in ZFS snapshot
Message-ID:  <4b473c1f1002032014y4da8c0f0xcb74c749332cced3@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
`pwd` returns "No such file or directory" when browsing snapshot files. This
was addressed in:
http://lists.freebsd.org/pipermail/freebsd-fs/2009-February/005675.html  but
remains the same as of 8.0-RELEASE.

I am wondering if this is the expected behavior or if this was left by the
wayside.

A work around is available as per the previous discussion:
zfs set snapdir=visible volume

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

--randy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4b473c1f1002032014y4da8c0f0xcb74c749332cced3>