Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Dec 2010 13:32:03 +0200
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        Ruben van Staveren <ruben@verweg.com>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: unable to pwd in ZFS snapshot 
Message-ID:  <E1PWopX-000A1z-5G@kabab.cs.huji.ac.il>
In-Reply-To: <91EDEEE8-215F-438D-923E-12A75F7B2C88@verweg.com> 
References:  <E1PWkzd-0006J0-OC@kabab.cs.huji.ac.il>  <20101226073156.GA84868@mail.hs.ntnu.edu.tw> <E1PWmXV-00085C-NK@kabab.cs.huji.ac.il> <91EDEEE8-215F-438D-923E-12A75F7B2C88@verweg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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, =
=3Dbut
> >>> it's almost a year old.
> >>> 	http://people.freebsd.org/=7Ejh/patches/zfs-ctldir-vptocnp.diff
> >>=20
> >> Setting snapdir to visible should fix this right away:
> >> =23 zfs set snapdir=3Dvisible tank/foo
> >>=20
> > it did indeed=21
> > any reason why this should not be the default behaviour?
>=20
> Personally, I want to have the snapshot, but not see the directory othe=
rwise so that
> it doesn't get scooped up by rsync et al inadvertently

I agree, so the point is that as usual, the solution fixes one problem by=
=20
creating
another one :-)

so basically, the bug is still there, or is it a feature?
ie:
	ls  /h/.zfs/snapshot/20101225/		works
	cd /h/.zfs/snapshot/20101225/		works
	pwd
	pwd: .: No such file or directory

btw, why use rsync if 'zfs send=7C zfs recv' work realy nice?

cheers,
	danny





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1PWopX-000A1z-5G>