1832577 Members
3188 Online
110043 Solutions
New Discussion

tape special file

 
SOLVED
Go to solution
Etienne Roseau
Frequent Advisor

tape special file

Hi Gurus !
i was answering if it is possible to change a special file.
for example i have a tape at s.f.= /dev/rmt/25m and i want to change it into /dev/rmt/28m

thx !
E.
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: tape special file

Yes, do an ls -l /dev/rmt/25m and note the major and minor device numbers. Let's pretend that that are Major: 205 Minor 0x091000

rm /dev/rmt/25m
mknod /dev/rmt/28m c 205 0x091000

Note: You should repeat this for the 'mb', 'mn', and 'mnb' device nodes as well.
If it ain't broke, I can fix that.
Etienne Roseau
Frequent Advisor

Re: tape special file

so easy ! as i was fighting with mksf..!!
i'm waiting for networker admin to validate the change.. and close the thread.
thx.
E.
Etienne Roseau
Frequent Advisor

Re: tape special file

thi is it !