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.
This commit is contained in:
Pawel Jakub Dawidek 2007-04-08 23:59:39 +00:00
parent bdebccf9b9
commit f92cb15e7b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=168509
3 changed files with 4 additions and 2 deletions

View File

@ -16,6 +16,8 @@
..
modules
..
zfs
..
..
dev mode=0555
..

View File

@ -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"

View File

@ -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"