-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 01 March 2003 07:20 pm, J. M. Brenner wrote:
> This is what he in fact said: > > This seems to be the most closely guarded secret in RedHat. I've > searched through hundreds of newsgroup articles going back six years > trying to find the answer to "What is /boot/module-info?" There are > hundreds of questions on this but I can't find any definitive > answer. There are lots or answers saying "it's not important", "it's > RedHat specific", "It's created with make modules" (wrong!), but there > is no clear definitive answer. And yes, I have searched the RedHat web > site as well. > > In the top of the file it describes what its format is but not what > the file is used for. > > So does anyone have a clear and full description of what module-info > is, how it was created, and what it is used for/by? Not I, but I do have a little info. It might even be slightly useful, if not a complete answer. I've actually searched for an answer to this in the past. Here's what I've found. Anaconda's loader uses module-info, but not the copy in /boot/. See loader/loader.c in the anaconda source. It appears the anaconda team is responsible for maintaining the file. $ rpm -q --changelog kernel | grep module-info - - updated module-info to the copy from anaconda CVS Anaconda's 'modlist' uses /boot/module-info (See utils/modlist.c in the anaconda source) $ strings /usr/lib/anaconda-runtime/modlist | grep module-info /boot/module-info Give output in module-info file for listed args redhat-config-network uses it, see: /usr/share/redhat-config-network/netconfpkg/NCHardwareList.py ModInfo = ConfModInfo(filename = '/boot/module-info') It's used by some Red Hat python modules, see /usr/lib/python2.2/site-packages/rhpl/Conf.py $ rpm -qi rhpl The rhpl package contains Python code used by programs in Red Hat Linux. The initscripts package either makes or doesn't make the symlinks in boot, your choice, I guess. ;) /usr/share/doc/initscripts-6.95/ChangeLog: make symlinks for System.map and module-info automatically /usr/share/doc/initscripts-6.95/ChangeLog: don't create module-info, System.map links - they aren't needed The changelog entry that says the links are created is newer, but I see no mention of module-info in /ect/rc*. Then again, the initscripts packages changelog says only: $ rpm -q --changelog initscripts|grep module-info - - don't make module-info, System.map links Hope that helps, rather than further confusing the issue. - -- - -Michael pgp key: http://www.tuxfan.homeip.net:8080/gpgkey.txt Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/ - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+YWwHn/07WoAb/SsRAuIdAKCTUTAPrnEbmtU958/ztthX6Nm+LQCdEuRI BJE19Q/zOUQDmVwy39mLLRw= =HQqr -----END PGP SIGNATURE----- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list