cancel
Showing results for 
Search instead for 
Did you mean: 

Create a device file

 
SOLVED
Go to solution

Create a device file

L2000
HPUX 11.11

I am trying to create a device file for a Surestore tape library. The deivce file is used to move the robotic arm. what is the command for this?

0/7 ba Local PCI Bus Adapter (782)
0/7/0/0 ext_bus SCSI C87x Fast Wide Differential
0/7/0/0.0 target
0/7/0/0.0.0 tape QUANTUM DLT8000
0/7/0/0.6 target
0/7/0/0.6.0 unknown HP C7200-8000
0/7/0/0.7 target
0/7/0/0.7.0 ctl Initiator
9 REPLIES
Prashanth Waugh
Esteemed Contributor

Re: Create a device file

Hi,

Run #insf -e

reagrds
Prashant
For success, attitude is equally as important as ability

Re: Create a device file

noo... its makenode? something like that..

Re: Create a device file

mknod command.
but what is the proper syntex?

mknod /dev/robot
Torsten.
Acclaimed Contributor

Re: Create a device file

First you must include the driver (schgr) into the kernel, after the reboot you have your device file.




Currently you don't have the driver installed.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Prashanth Waugh
Esteemed Contributor

Re: Create a device file

Hi,

r u trying to recreate the device file. check the man pages for mksf

Regards
Prashant
For success, attitude is equally as important as ability
Torsten.
Acclaimed Contributor
Solution

Re: Create a device file

Look:

autoch 9 0/1/0/0.2.16.255.0.0.0 schgr CLAIMED DEVICE HP
C7200-8000
/dev/rac/c114t0d0

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: Create a device file

And now the changer command:

#mc -p /dev/rac/c114t0d0 -r IDSM
MT_slot_1 EMPTY
IE_slot_1 EMPTY
IE_slot_2 EMPTY
...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Ganesan R
Honored Contributor

Re: Create a device file

Hi Matthew,

You don't need to use mknod command until or unless you have manually removed the device file.

As Torsten specified, first you should include the driver for robotic arm into the kernel if it is not already included.

If it is already included, you either reboot the server or just run "insf -e" command which creates the necessary device files for you.
Best wishes,

Ganesh.

Re: Create a device file

thanks!