summaryrefslogtreecommitdiffstats
path: root/sys/cddl
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2007-04-08 23:59:39 +0000
committerpjd <pjd@FreeBSD.org>2007-04-08 23:59:39 +0000
commitafcf861a95ee4c76fa8a2141fcaf62a34cee70ba (patch)
tree5a2c489e6fc8c4a1fcd9d6584a6f47f70fd346f3 /sys/cddl
parente47fb9eabdc710084a147816ccd480d35f5454e9 (diff)
downloadFreeBSD-src-afcf861a95ee4c76fa8a2141fcaf62a34cee70ba.zip
FreeBSD-src-afcf861a95ee4c76fa8a2141fcaf62a34cee70ba.tar.gz
Move zpool.cache from /etc/zfs/ to /boot/zfs/, so we can keep it on
dedicated /boot/ file system and use ZFS for the root file system.
Diffstat (limited to 'sys/cddl')
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/fs/zfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/sys/fs/zfs.h b/sys/cddl/contrib/opensolaris/uts/common/sys/fs/zfs.h
index 4416a5a..bcf8594 100644
--- a/sys/cddl/contrib/opensolaris/uts/common/sys/fs/zfs.h
+++ b/sys/cddl/contrib/opensolaris/uts/common/sys/fs/zfs.h
@@ -230,7 +230,7 @@ extern zpool_prop_t zpool_prop_iter(zpool_prop_f, void *, boolean_t);
* The location of the pool configuration repository, shared between kernel and
* userland.
*/
-#define ZPOOL_CACHE_DIR "/etc/zfs"
+#define ZPOOL_CACHE_DIR "/boot/zfs"
#define ZPOOL_CACHE_FILE "zpool.cache"
#define ZPOOL_CACHE_TMP ".zpool.cache"
OpenPOWER on IntegriCloud