Subj : Re: Incredibly bloated 'lsmod' To : comp.os.linux From : Sybren Stuvel Date : Mon Aug 30 2004 12:20 am nobody@nowhere.nonet enlightened us with: > You might want to try running 'lsmod' followed by 'cat /proc/modules'. > The output is EXACTLY the same, except for the top line. No it's not. Here is a piece of my /proc/modules: nfs 95152 1 - Live 0xe1ce2000 vfat 11840 0 - Live 0xe1ca3000 fat 39104 1 vfat, Live 0xe1cba000 isofs 24132 0 - Live 0xe1ca7000 nfsd 90312 8 - Live 0xe1c74000 exportfs 4992 1 nfsd, Live 0xe1b4c000 lockd 57864 3 nfs,nfsd, Live 0xe1c27000 sunrpc 130404 6 nfs,nfsd,lockd, Live 0xe1c38000 snd_via82xx 23684 0 - Live 0xe1b96000 snd_mpu401_uart 6144 1 snd_via82xx, Live 0xe1b49000 usbhid 22464 0 - Live 0xe1b86000 ehci_hcd 25860 0 - Live 0xe1b7e000 uhci_hcd 28944 0 - Live 0xe1b75000 via_agp 7040 1 - Live 0xe1b2d000 agpgart 27624 2 via_agp, Live 0xe1b12000 evdev 7424 0 - Live 0xe1b0f000 bttv 143500 0 - Live 0xe1b50000 And here is from my lsmod: Module Size Used by nfs 95152 1 vfat 11840 0 fat 39104 1 vfat isofs 24132 0 nfsd 90312 8 exportfs 4992 1 nfsd lockd 57864 3 nfs,nfsd sunrpc 130404 6 nfs,nfsd,lockd snd_via82xx 23684 0 snd_mpu401_uart 6144 1 snd_via82xx usbhid 22464 0 ehci_hcd 25860 0 uhci_hcd 28944 0 via_agp 7040 1 agpgart 27624 2 via_agp evdev 7424 0 bttv 143500 0 > 'lsmod' really IS a trivial program. Apparently, it's not. What kernel do you have? Sybren -- The problem with the world is stupidity. Not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? .