zfs snapdir: from hidden to visible and back again

Andriy Gapon avg at icyb.net.ua
Mon Nov 17 03:57:33 PST 2008


on 17/11/2008 06:31 Pawel Jakub Dawidek said the following:
> On Fri, Nov 14, 2008 at 04:07:29PM +0200, Andriy Gapon wrote:
>> on 14/11/2008 14:37 Andriy Gapon said the following:
>>> Also, even with snapdir=hidden, I still can list snapshots (their
>>> contents) if I ls full path with .zfs in it.
>>> Is this right?
>> And it seems that any snapshot accessed in this way gets automatically
>> added to mounts. This doesn't seem to be reasonable.
>>
>> For example, periodic security script would report suid binaries found
>> in these snapshots, etc.
> 
> Everything you described is expected behaviour.
> 

I see. I guess there is no way to access something without mounting and
no way to auto-unmount after use.
Thanks.

-- 
Andriy Gapon


More information about the freebsd-fs mailing list