1 |
On 13/11/2008, Jorge Peixoto de Morais Neto |
2 |
<please.no.spam.here@×××××.com> wrote: |
3 |
> On Thu, Nov 13, 2008 at 7:05 PM, Dan Wallis <mrdanwallis@×××××.com> wrote: |
4 |
> > On 12/11/2008, Volker Armin Hemmann |
5 |
> > <volker.armin.hemmann@××××××××××××.de> wrote: |
6 |
> >> as root: lspci |
7 |
> > |
8 |
> > Why as root? I get exactly the same output when I run it as my own |
9 |
> > user as when I run it as root. Or have I got my system set up |
10 |
> > different to everyone else? |
11 |
> |
12 |
> $ lspci |
13 |
> bash: lspci: command not found |
14 |
> echo ${PATH} |
15 |
> /usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/opt/sun-jre-bin-1.5.0.06/bin:/opt/sun-jre-bin-1.5.0.06/javaws:/usr/games/bin |
16 |
> At least in my system, the lspci binary resides in /usr/sbin, which is |
17 |
> not in ${PATH} |
18 |
> So you should either call lspci as root or issue the explicit command |
19 |
> /usr/sbin/lspci |
20 |
Yes, I do have that directory in my PATH. |
21 |
|
22 |
> That said, if you want to use the -v flag of lspci (for extra |
23 |
> verbosity), you should be root, or you will see some fields filled |
24 |
> with <access denied> |
25 |
Thanks for the tip; I didn't know about the verbose flag. It looks |
26 |
like that'll come in useful when I do my next build in a few weeks. |
27 |
|
28 |
Thanks |
29 |
|
30 |
Dan |