Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2009 14:00:13 GMT
From:      Jaakko Heinonen <jh@saunalahti.fi>
To:        freebsd-fs@FreeBSD.org
Subject:   Re: kern/118170: [zfs] /bin/pwd fails under .zfs/snapshot
Message-ID:  <200905291400.n4TE0DkS033452@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/118170; it has been noted by GNATS.

From: Jaakko Heinonen <jh@saunalahti.fi>
To: kmacy@FreeBSD.org
Cc: koie@suri.co.jp, bug-followup@FreeBSD.org
Subject: Re: kern/118170: [zfs] /bin/pwd fails under .zfs/snapshot
Date: Fri, 29 May 2009 16:58:50 +0300

 Hi,
 
 On 2009-05-28, kmacy@FreeBSD.org wrote:
 > no longer applies
 > 
 > kmacy@delirium [/usr/.zfs/snapshot|16:09|109] cd foo 
 > kmacy@delirium [/usr/.zfs/snapshot/foo|16:09|110] pwd
 > /usr/.zfs/snapshot/foo
 
 The problem still exists. It seems that you used shell built-in pwd
 which doesn't call getcwd(3) but uses it's own bookkeeping for working
 directory.
 
 The problem was discussed on -fs in February and I described it in this
 message:
 
 http://lists.freebsd.org/pipermail/freebsd-fs/2009-February/005671.html
 
 Since then __getcwd() has improved because vop_stdvptocnp() can now use
 readdir("..") to resolve component names. However it can't cross mount
 points and because zfs snapshot are mounted the problem is still there.
 
 -- 
 Jaakko



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