Bug 135546

Summary: [zfs] zfs.ko module doesn't ignore zpool.cache filename supplied by loader
Product: Base System Reporter: Vladimir 'phcoder' Serbinenko <phcoder>
Component: kernAssignee: Warner Losh <imp>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: allanjude, imp
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Vladimir 'phcoder' Serbinenko 2009-06-13 17:00:07 UTC
When root is on zfs, zpool.cache is supplied by bootloader as a module with type /boot/zfs/zpool.cache zfs.ko search for it by checking the filename /boot/zfs/zpool.cache and not the type.

Fix: 

Search for zpool.cache by the type and ignore the filename
How-To-Repeat: Load zpool.cache from a file other than /boot/zfs/zpool.cache
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2009-06-13 17:32:52 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs

Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:00 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 3 Warner Losh freebsd_committer freebsd_triage 2019-01-07 15:41:11 UTC
I think this bug is OBE.
I can't find zpool.cache in the current sources.
added allen jude as a cc.