System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to recover a deleted Device file?

 
Highlighted
Regular Advisor

How to recover a deleted Device file?

Hi,

I want to know normally how we have to recover the deleted file.Beacaz I had deleted one /dev/ttyS0 file(character device file),during next reboot of the system this file is not created.
So how i can recover that file??Is it possible to recover the file thru inode number.But i tried with the inode number its not working.
If anybody came across this type of problem ,let me know that...how to resolve this issue...


Regds,
palani.
Everything is Possible and Anything is Feasible if u try
2 REPLIES 2
Highlighted
Honored Contributor

Re: How to recover a deleted Device file?

See MAKEDEV script.
For example :

cd /dev/
./MAKEDEV -n -v ttyS0

regards,
ivan
Highlighted
Honored Contributor

Re: How to recover a deleted Device file?

Palanianppan,

Agree with the above answer:

http://tldp.org/LDP/sag/html/hwutils.html

Regards,

Jaime.
Work hard when the need comes out.