1833059 Members
2628 Online
110049 Solutions
New Discussion

Re: ioscan -C ...

 
ViS_2
Frequent Advisor

ioscan -C ...

Hi!
How can I find out which device classes HP-UX knows about? Not those that currently compiled in the kernel but all the ones that CAN BE compiled in it.
In another words, which device classes theoretically I can use in the phrase

ioscan -C

instead ?
Thanks.
Sorry for my english.
4 REPLIES 4
Bharat Katkar
Honored Contributor

Re: ioscan -C ...

This are all i can find it for you.

tty olar pseudo ext_bus acpi_node ptym ptys ps2 graf_pseudo olar ext_bus vxvm usbdev usbhub usbhid usb fc fcp ipmi fc strtels strtelm lvm vxvm vxvm lan ext_bus gvid_pseudo strptym strptys disk ctl graf_pseudo diag

Regards,
You need to know a lot to actually know how little you know
Simon Hargrave
Honored Contributor

Re: ioscan -C ...

According to the manpage for ioscan:

class A device category, defined in the files located in
the directory /usr/conf/master.d and consistent
with the listings output by lsdev (see lsdev(1M)).
Examples are disk, printer, and tape.

Although the contents of this directory don't list "tape" explicitly, rather "stape" so I wonder if there are some aliases elsewhere?
Steve Steel
Honored Contributor

Re: ioscan -C ...

Hi

Surely you only need the ones in the machine

ioscan -C class

Will do nothing if its not there

try

ioscan -F|cut -f9 -d":"|strings|sort -u|while read line
do
ioscan -C$line
done


For list from man

class A device category, defined in the files located in
the directory /usr/conf/master.d and consistent
with the listings output by lsdev (see lsdev(1M)).
Examples are disk, printer, and tape.


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
ViS_2
Frequent Advisor

Re: ioscan -C ...

2Bharat Katkar.
Great!
But the question is: "Is there any reasonable method to find out that listing by finding and grepping through a filesystem for example?"