On 2010/02/24 08:19 (GMT+0100) Per Jessen composed:
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.
http://fm.no-ip.com/tmp/Linux/ now has lspci an lspci -v output for the 3 hosts.
Ditto for fi965.txt and gx270.txt. Any chance that you didn't get the script copied correctly?
From the model numbers I know that big31 and gx270 have PATA OM, and fi965 has SATA OM. How from any kind of cmdline script or utility, without using
Yes and no. I do my email on OS/2. I touched the file on 11.0's filesystem using 11.0, but then pasted the copy using my OS/2 OFM's built in editor, which included carriage returns with the line feeds. After dos2unix on the file it produces output. However, it seems my original question didn't reflect my intent. I have no problem visually extracting the same output from hwinfo --cdrom as your script. It didn't answer my question then, and doesn't answer the question now. 00:1f.5 IDE interface: Intel Corporation 82801H (ICH8 Family) 2 port SATA IDE Controller (rev 02) That tells me what controller the OM is attached to, but AFAICT not whether it's on a PATA or SATA port. I might infer that because it listed the 2 port rather than the 4 port, but the fact is the OM device is on an SATA port on the fi965 host. the OM device's model number, can I find out whether the port the OM device is connected to is PATA or SATA? -- "Our Constitution was made only for a moral and religious people. It is wholly inadequate to the government of any other." John Adams, 2nd US President Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org