Operating System - HP-UX
1752603 Members
5326 Online
108788 Solutions
New Discussion

Re: special file recovery

 
SOLVED
Go to solution
u856100
Frequent Advisor

special file recovery

All,

I have just been playing with some SCSI disks on a test system. I wanted to simulate losing a device file and recreating it. I have a couple of questions :

- I mistakenlingly used rm to remove the device file instead of rmsf. What residue is left that is associated with the removed device file when deleted using rm? (something prevents me from recreating it using insf or mksf)?

- Is there any trick way of changing the SCSI target of a live peripheral without rebooting the system?

thanks very much!!!!

John
chicken or egg first?
1 REPLY 1
harry d brown jr
Honored Contributor
Solution

Re: special file recovery

John,

The device is still in the kernel, but with "mknod" you can "recreate" the special device file, providing you know what the major and minor numbers are.

When you say "changing the SCSI target of a live peripheral", do you mean a device that is in use? If you do, then you can't.

live free or die
harry
Live Free or Die