Mailinglist Archive: opensuse (1581 mails)

< Previous Next >
Re: [opensuse] PATA vs. SATA: which port is device on?
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Wed, 24 Feb 2010 08:19:18 +0100
  • Message-id: <hm2jtn$n3c$3@xxxxxxxxxxxxxxxx>
Felix Miata wrote:

On 2010/02/23 17:00 (GMT+0100) Per Jessen composed:

Hmm, doesn't work on an 11.0 system here either. I'm not very good
with awk, but try this instead:

hwinfo --cdrom | \
grep /dev/disk/by-path | \
cut -d- -f3 | cut -d: -f2-5 | \
xargs printf "/sbin/lspci | grep %s;" | sh

Only output is errors. Doesn't exit either.

I tried it on your big31.txt file - it won't output anything as I don't
have your lspci output, but otherwise it worked just fine.
Ditto for fi965.txt and gx270.txt. Any chance that you didn't get the
script copied correctly?

http://jessen.ch/files/4felix.sh


/Per

--
Per Jessen, Zürich (3.8°C)

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups