Re: unable to pwd in ZFS snapshot
> > 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
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 6 之 9 篇):