Mailing List Archive

Re: Documentation modification suggestion
Matthew Smith wrote:
> Relates to:
>
> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=7
>
> Code Listing 21: Viewing all available modules
> # find /lib/modules/<kernel version>/ -type f -iname '*.o' -or -iname '*.ko'
>
> To save hunting for the kernel version, how about:
>
> # find /lib/modules/`uname -a`/ -type f -iname '*.o' -or -iname '*.ko'
>
>

Thank you for your interest. The correct place to report this is:

http://bugs.gentoo.org/enter_bug.cgi?product=Documentation


Thanks!

--curtis

ps. forwarded to Docs Team
Re: Re: Documentation modification suggestion [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Matthew Smith wrote:
>> Relates to:
>>
>> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=7
>>
>> Code Listing 21: Viewing all available modules
>> # find /lib/modules/<kernel version>/ -type f -iname '*.o' -or -iname '*.ko'
>>
>> To save hunting for the kernel version, how about:
>>
>> # find /lib/modules/`uname -a`/ -type f -iname '*.o' -or -iname '*.ko'

This won't actually work:

$ find /lib/modules/`uname -a`/ -type f -iname '*.ko' -or -iname '*.ko'
find: invalid predicate `(Coppermine)'

That's for my P3. There's too much information in the uname, at least for x86.
Thanks for your interest, though.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEoMXersJQqN81j74RAqNPAJ9DKSnBdkBNTVbjDoPIFLwatpKuiACbBEhV
K1lfwf2yv9EiwFl2mv1wRR0=
=+wnO
-----END PGP SIGNATURE-----
--
gentoo-doc@gentoo.org mailing list
Re: Re: Documentation modification suggestion [ In reply to ]
Josh Saddler schrieb:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>> Matthew Smith wrote:
>>
>>> Relates to:
>>>
>>> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=7
>>>
>>> Code Listing 21: Viewing all available modules
>>> # find /lib/modules/<kernel version>/ -type f -iname '*.o' -or -iname '*.ko'
>>>
>>> To save hunting for the kernel version, how about:
>>>
>>> # find /lib/modules/`uname -a`/ -type f -iname '*.o' -or -iname '*.ko'
>>>
>
> This won't actually work:
>
> $ find /lib/modules/`uname -a`/ -type f -iname '*.ko' -or -iname '*.ko'
> find: invalid predicate `(Coppermine)'
>
> That's for my P3. There's too much information in the uname, at least for x86.
> Thanks for your interest, though.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
>
> iD8DBQFEoMXersJQqN81j74RAqNPAJ9DKSnBdkBNTVbjDoPIFLwatpKuiACbBEhV
> K1lfwf2yv9EiwFl2mv1wRR0=
> =+wnO
> -----END PGP SIGNATURE-----
>

It actually should be

$ find /lib/modules/`uname -r`/ -type f -iname '*.ko' -or -iname '*.ko'

then it does work, at least for me on x86 and x86_64

--
gentoo-doc@gentoo.org mailing list