Web Hosting Talk







View Full Version : Removed /dev, is this bad?


Gyrbo
11-26-2002, 02:14 PM
While experimenting with a chrooted enviorment, I accedentally deleted /dev with rm -Rf /dev (thinking I was in a chroot).
Would this cause any problems on the system? I already found out that I only have /dev/pts/0 so I can only open one SSH session. Also /dev/hd* is gone, I can't mount any filesystems.
Is this recoverable or does the system need a restore?

wakkow
11-26-2002, 02:25 PM
I don't know if this will work.. but ....

What if you get a copy of MAKEDEV from someone/somewhere else and run that? Does anyone thing that'd work?

Gyrbo
11-26-2002, 03:00 PM
Thank you for the very fast response! I got a copy of MAKEDEV from RedHat, and I restored all devices. I can login again and my harddisk is back.
If you ever need any help, you can count on me anytime!

wakkow
11-26-2002, 04:00 PM
Great! It was a total shot in the dark, but I'm glad it works. :)