Bug 135546 - [zfs] zfs.ko module doesn't ignore zpool.cache filename supplied by loader
Summary: [zfs] zfs.ko module doesn't ignore zpool.cache filename supplied by loader
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: Warner Losh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-13 17:00 UTC by Vladimir 'phcoder' Serbinenko
Modified: 2019-01-07 15:41 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 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.