Gentoo Archives: gentoo-doc

From: widu wittekindt <widu@×××××××××××××××××××××××××.de>
To: gentoo-doc@l.g.o
Subject: Re: [gentoo-doc] Re: Documentation modification suggestion
Date: Tue, 27 Jun 2006 06:41:47
Message-Id: 44A0D298.3090000@fahrradwerkstatt-freiburg.de
In Reply to: Re: [gentoo-doc] Re: Documentation modification suggestion by Josh Saddler
1 Josh Saddler schrieb:
2 > -----BEGIN PGP SIGNED MESSAGE-----
3 > Hash: SHA1
4 >
5 >
6 >> Matthew Smith wrote:
7 >>
8 >>> Relates to:
9 >>>
10 >>> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=7
11 >>>
12 >>> Code Listing 21: Viewing all available modules
13 >>> # find /lib/modules/<kernel version>/ -type f -iname '*.o' -or -iname '*.ko'
14 >>>
15 >>> To save hunting for the kernel version, how about:
16 >>>
17 >>> # find /lib/modules/`uname -a`/ -type f -iname '*.o' -or -iname '*.ko'
18 >>>
19 >
20 > This won't actually work:
21 >
22 > $ find /lib/modules/`uname -a`/ -type f -iname '*.ko' -or -iname '*.ko'
23 > find: invalid predicate `(Coppermine)'
24 >
25 > That's for my P3. There's too much information in the uname, at least for x86.
26 > Thanks for your interest, though.
27 > -----BEGIN PGP SIGNATURE-----
28 > Version: GnuPG v1.4.2.2 (GNU/Linux)
29 >
30 > iD8DBQFEoMXersJQqN81j74RAqNPAJ9DKSnBdkBNTVbjDoPIFLwatpKuiACbBEhV
31 > K1lfwf2yv9EiwFl2mv1wRR0=
32 > =+wnO
33 > -----END PGP SIGNATURE-----
34 >
35
36 It actually should be
37
38 $ find /lib/modules/`uname -r`/ -type f -iname '*.ko' -or -iname '*.ko'
39
40 then it does work, at least for me on x86 and x86_64
41
42 --
43 gentoo-doc@g.o mailing list