Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 436248 - [PATCH] mkinitrd --without option
Summary: [PATCH] mkinitrd --without option
Alias: None
Product: Fedora
Classification: Fedora
Component: mkinitrd
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: K12LTSP
TreeView+ depends on / blocked
Reported: 2008-03-06 03:18 UTC by Warren Togami
Modified: 2008-03-06 18:16 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-03-06 18:16:58 UTC

Attachments (Terms of Use)
mkinitrd-without.patch (deleted)
2008-03-06 03:18 UTC, Warren Togami
no flags Details | Diff
mkinitrd-without.patch (deleted)
2008-03-06 03:51 UTC, Warren Togami
no flags Details

Description Warren Togami 2008-03-06 03:18:04 UTC
mkinitrd --withavail==networking
This option pulls in all networking drivers, and loads the driver during initrd
if a matching device exists.  Unfortunately this sometimes can cause failures
when multiple drivers support the same network card.  For example, 8139too and
8139cp support an overlapping set of network cards.  nash loadDrivers loads
8139too before 8139cp, while the latter is what the user needs.

Attached is the --without option for mkinitrd.  Syntax Example:
--withavail==networking --without="8139too ipw2200"

Comment 1 Warren Togami 2008-03-06 03:18:04 UTC
Created attachment 296987 [details]

Comment 2 Warren Togami 2008-03-06 03:51:26 UTC
Created attachment 296990 [details]

Slightly better version of patch, faster in the common case where none are

Comment 3 Jeremy Katz 2008-03-06 18:16:58 UTC
I don't feel very strongly either way and this does match the rest of the stuff
that we have.  So committed

Note You need to log in before you can comment on or make changes to this bug.