Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15501
| From | Mischa Baars <mjbaars1977.bug-bash@cyberfiber.eu> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: selecting modules for kernel compilation automatically |
| Date | 2019-10-12 14:05 +0200 |
| Message-ID | <mailman.396.1570882011.9715.bug-bash@gnu.org> (permalink) |
| References | <aad1c361e76a3b015125e290b67b3b668d53c573.camel@cyberfiber.eu> <4787c68a249f9432c3ba1d612ee9366b5c370bb7.camel@cyberfiber.eu> |
On Sat, 2019-10-12 at 13:50 +0200, Mischa Baars wrote: > Hi, > > Can someone please tell me why this does work: > > > for i in $(find /lib/modules/5.3.0-next-20190924/ -type f | grep scsi); do echo $(basename $i .ko.xz); done; > > While this doesn't: > > for i in $(find /lib/modules/5.3.0-next-20190924/ -type f | grep scsi); do grep $(basename $i .ko.xz) /proc/modules; done; > for i in $(find /lib/modules/5.3.0-next-20190924/ -type f | grep scsi); do lsmod | grep $(basename $i .ko.xz); done; > > Thanks, > Mischa. Never mind, I've probably been smoking too much. Thanks, Mischa.
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: selecting modules for kernel compilation automatically Mischa Baars <mjbaars1977.bug-bash@cyberfiber.eu> - 2019-10-12 14:05 +0200
csiph-web