HP Visualize J210XC IRIX to HP-UX Migration Guide - Page 17

Devices

Page 17 highlights

4. Devices IRIX Introduction While the /dev and /hw directories on the SGI system contain the same type of information as the /dev directory on the HP system, configuring, examining, checking, and installing are performed differently on each system. Checking Devices On the SGI system use the hinv command to display the hardware inventory. This command will list processors, memory, and peripheral devices connected to the system. Using it is a good way to see if the OS recognizes a device interfaced to the system. The equivalent command on the HP is ioscan. This command will scan the hardware and display the device and its hardware path. To see what /dev files are associated with the device, use the ioscan -fn command. To check graphics hardware on the SGI system, use the gfxinfo command. Some limited information on the type of graphics hardware installed in the system will be displayed. On the HP system use the graphinfo command. An extensive list of attributes for the graphics hardware will be displayed. While the resolution will be displayed, the refresh rate will not be given. That information can be obtained (and changed) using SAM. Device Files Directory Peripheral device files reside in the /dev directory. While many of these files and directories are the same for both IRIX and HP-UX, there are notable differences. Following is a listing of the major device files and directories for the IRIX OS. A corresponding listing for HP-UX can be found later in this chapter. /dev/dsk Block device files for disks (same for HP-UX) /dev/rdsk Character device files for disks (same for HP-UX) /dev/mt Block device files for tapes (same for HP-UX) /dev/rmt Character device files for tapes (same for HP-UX) /dev/tape Generic tape device (IRIX only) /dev/mem Memory (same for HP-UX) /dev/null Null device (same for HP-UX) /dev/console System console device (same for HP-UX) /dev/syscon Link to system console (same for HP-UX) /dev/systty Link to system console (same for HP-UX) /dev/keybd Keyboard device file (IRIX only) /dev/mouse Mouse device file (IRIX only) /dev/ttyd* Serial ports (IRIX only) 12

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125

12
4. Devices
IRIX
Introduction
While the
/dev
and
/hw
directories on the SGI system contain the same type of information as the
/dev
directory on the HP system, configuring, examining, checking, and installing are performed differently on
each system.
Checking Devices
On the SGI system use the
hinv
command to display the hardware inventory.
This command will list
processors, memory, and peripheral devices connected to the system.
Using it is a good way to see if the
OS recognizes a device interfaced to the system.
The equivalent command on the HP is
ioscan
.
This
command will scan the hardware and display the device and its hardware path.
To see what
/dev
files are
associated with the device, use the
ioscan –fn
command.
To check graphics hardware on the SGI system, use the
gfxinfo
command.
Some limited information on
the type of graphics hardware installed in the system will be displayed.
On the HP system use the
graphinfo
command.
An extensive list of attributes for the graphics hardware will be displayed.
While the
resolution will be displayed, the refresh rate will not be given.
That information can be obtained (and
changed) using SAM.
Device Files Directory
Peripheral device files reside in the
/dev
directory.
While many of these files and directories are the same
for both IRIX and HP-UX, there are notable differences.
Following is a listing of the major device files
and directories for the IRIX OS.
A corresponding listing for HP-UX can be found later in this chapter.
/dev/dsk
Block device files for disks (same for HP-UX)
/dev/rdsk
Character device files for disks (same for HP-UX)
/dev/mt
Block device files for tapes (same for HP-UX)
/dev/rmt
Character device files for tapes (same for HP-UX)
/dev/tape
Generic tape device (IRIX only)
/dev/mem
Memory (same for HP-UX)
/dev/null
Null device (same for HP-UX)
/dev/console
System console device (same for HP-UX)
/dev/syscon
Link to system console (same for HP-UX)
/dev/systty
Link to system console (same for HP-UX)
/dev/keybd
Keyboard device file (IRIX only)
/dev/mouse
Mouse device file (IRIX only)
/dev/ttyd*
Serial ports (IRIX only)