Operating System - HP-UX
1833847 Members
2258 Online
110063 Solutions
New Discussion

Re: rmt device not character device

 
SOLVED
Go to solution
Javier Ortiz Guajardo
Frequent Advisor

rmt device not character device

how can i rebuild the rmt device file? This is the error i found
/dev/rmt/0m is not a character special device.

Thanks.
The obstacles are those things that the people see when they left to see their goals.
4 REPLIES 4
A. Clay Stephenson
Acclaimed Contributor

Re: rmt device not character device

Remove /dev/rmt/0m then do an insf -C tape (or -d stape).

Man insf for details.
If it ain't broke, I can fix that.
James R. Ferguson
Acclaimed Contributor

Re: rmt device not character device

Hi:

The easist way is to remove the existing (bogus) file using 'rmsf' and then do:

# insf -e

Regards!

...JRF...
Helen French
Honored Contributor

Re: rmt device not character device

For recreating device files:
# insf -e

But first check the directory:
# ls -la /dev/rmt
If 0m is a character special file, then make sure you are not specifying "Om" instead of "0m"
Life is a promise, fulfill it!
S.K. Chan
Honored Contributor
Solution

Re: rmt device not character device

You can first remove the problematic device file with "rmsf" then recreate it with "insf".
# insf -e -H