Skip to content

Commit

Permalink
Whilst temporarily disabling cachefile on OSX, allow userland 'zdb' tool
Browse files Browse the repository at this point in the history
to use it.
  • Loading branch information
lundman committed Jul 10, 2014
1 parent 0e3d1ac commit b81a989
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion module/zfs/spa_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,11 @@ static uint64_t spa_config_generation = 1;
* userland pools when doing testing.
*/
char *spa_config_path = ZPOOL_CACHE;
#ifdef _KERNEL
int zfs_autoimport_disable = 1;

#else
int zfs_autoimport_disable = 0;
#endif
/*
* Called when the module is first loaded, this routine loads the configuration
* file into the SPA namespace. It does not actually open or load the pools; it
Expand Down

0 comments on commit b81a989

Please sign in to comment.