Bug 239508 - FEATURE: Add ability to specify alternate /proc/modules file
Summary: FEATURE: Add ability to specify alternate /proc/modules file
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: module-init-tools (Show other bugs)
(Show other bugs)
Version: 4.5
Hardware: All Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Jon Masters
QA Contact:
URL:
Whiteboard:
Keywords: FutureFeature
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-05-09 00:13 UTC by Philip Pokorny
Modified: 2008-04-03 07:27 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-04-03 07:27:38 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
This patch adds a --proc-modules option to specify an alternate location (4.84 KB, patch)
2007-05-09 00:13 UTC, Philip Pokorny
no flags Details | Diff
Patch that actually works. (5.49 KB, patch)
2007-05-09 01:02 UTC, Philip Pokorny
no flags Details | Diff

Description Philip Pokorny 2007-05-09 00:13:14 UTC
Description of problem:
--show-deps sets a flag to ignore /proc/modules completely, but if we would like
to know what commands would be run when a previous or alternate set of modules
was loaded, then we need to provide the alternate contents of /proc/modules.  A
command line argument to specify an alternate path for /proc/modules is
relatively simple to implement.

Version-Release number of selected component (if applicable):
3.1-0.pre5.3.4

Comment 1 Philip Pokorny 2007-05-09 00:13:14 UTC
Created attachment 154366 [details]
This patch adds a --proc-modules option to specify an alternate location

Comment 2 Philip Pokorny 2007-05-09 01:02:41 UTC
Created attachment 154369 [details]
Patch that actually works.

How sad that I failed to compile and test my patch.  My humble apologies.

This patch has been compiled and tested.


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