Disable Finder browsing of zpool?

All your general support questions for OpenZFS on OS X.

Disable Finder browsing of zpool?

Postby jjlawren » Sun Jan 03, 2016 7:13 pm

I am using my Mac as a backup host for an Illumos-based server, saving ZFS snapshots on external hard drives. However, I'd like to avoid Finder trying to browse the files. Is there a way to do this cleanly?
jjlawren
 
Posts: 2
Joined: Sun Jan 03, 2016 7:10 pm

Re: Disable Finder browsing of zpool?

Postby jjlawren » Mon Jan 04, 2016 2:15 pm

By trial and error, I found the 'com.apple.browse' ZFS property which seems to do something similar to what I want. Is this documented anywhere on the wiki?
jjlawren
 
Posts: 2
Joined: Sun Jan 03, 2016 7:10 pm

Re: Disable Finder browsing of zpool?

Postby ilovezfs » Tue Jan 05, 2016 4:31 am

No, but it is in the zfs man page. It ought to be added to the wiki, too, especially the bit about how it breaks Spotlight.

Code: Select all
       com.apple.browse=on | off

           Equivalent to mount option browse/nobrowse. This  option  indicates
           that  the  mount  point  should  not  be visible via the GUI (i.e.,
           appear on the Desktop as a separate volume). Setting it to off will
           result  in  Spotlight  being  unavailable  for  the specified mount
           point.


https://github.com/openzfsonosx/zfs/issues/380
https://github.com/openzfsonosx/zfs/pull/427
ilovezfs
 
Posts: 229
Joined: Thu Mar 06, 2014 7:58 am


Return to General Help

Who is online

Users browsing this forum: No registered users and 2 guests