Bug 239508 - FEATURE: Add ability to specify alternate /proc/modules file
FEATURE: Add ability to specify alternate /proc/modules file
Status: CLOSED CANTFIX
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: module-init-tools (Show other bugs)
4.5
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jon Masters
: FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-05-08 20:13 EDT by Philip Pokorny
Modified: 2008-04-03 03:27 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-04-03 03:27:38 EDT
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-08 20:13 EDT, Philip Pokorny
no flags Details | Diff
Patch that actually works. (5.49 KB, patch)
2007-05-08 21:02 EDT, Philip Pokorny
no flags Details | Diff

  None (edit)
Description Philip Pokorny 2007-05-08 20:13:14 EDT
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-08 20:13:14 EDT
Created attachment 154366 [details]
This patch adds a --proc-modules option to specify an alternate location
Comment 2 Philip Pokorny 2007-05-08 21:02:41 EDT
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.