LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   My mistake (rm in /dev) (https://www.linuxquestions.org/questions/linux-newbie-8/my-mistake-rm-in-dev-150682/)

erickFis 02-26-2004 06:47 AM

My mistake (rm in /dev)
 
Hello guys!

I was trying to setup dvd player/cr writter (LG combo), when I unknowingly deleted my /dev/hdc.

I was trying do make a new link from /dev/dvd to /dev/hdc,
but /dev/dvd was pointing to /dev/sr0, so I had to remove it....

the mistake: rm /dev/hdc [enter] --->Oh sh....!

What can I do to recover my /dev/hdc?

Thanks!

Demonbane 02-26-2004 07:08 AM

try "mknod /dev/hdc b 3 0"

erickFis 02-27-2004 06:29 AM

thanks!


All times are GMT -5. The time now is 07:05 PM.