unable to pwd in ZFS snapshot

Ruben van Staveren ruben at verweg.com
Sun Dec 26 10:47:49 UTC 2010


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, but
>>> it's almost a year old.
>>> 	http://people.freebsd.org/~jh/patches/zfs-ctldir-vptocnp.diff
>> 
>> Setting snapdir to visible should fix this right away:
>> # zfs set snapdir=visible tank/foo
>> 
> it did indeed!
> any reason why this should not be the default behaviour?

Personally, I want to have the snapshot, but not see the directory otherwise so that it doesn't get scooped up by rsync et al inadvertently 

> 
> thanks,
> 	danny

Cheers,
	Ruben


More information about the freebsd-stable mailing list