use zpool.cache when importing pools at boot#7559
use zpool.cache when importing pools at boot#7559nt1 wants to merge 3 commits intoopnsense:masterfrom
Conversation
|
Thanks. Ideally hardcoding cache files should be avoided. It just looks like a maintenance spot further down the road. As said I’ll take a look when I’m back. |
|
Minimally, I'll move those string constants to a better place for the sake of maintainability. This would also be a good place for a link to openzfs zpool cache documentation. |
|
To be frank I'd prefer something like The docs say:
But the fun part is nothing really says what the compatible directory default is nor does the code make an effort to bootstrap a default. Cheers, |
|
Ok from the old code "/dev" should suffice so if you can let me know if this works as well... e7d8052 |
|
Shipping 701dff4 can't hurt so I will. |
(cherry picked from commit 701dff4)
Fixes issue #7553