Tech Support > Operating Systems > UNIX / Variants > help restoring a corrupt /dev file
help restoring a corrupt /dev file
Posted by asumoactingbig on November 3rd, 2003


I'm in a dilley of a pickle here. In my great ignorance I
accidentally corrupted my /dev/rst0 file by cp'ing another file to it.
(dumb, I know) Of course all my backups are on tape and now, when I
try to access the drive I get an I/O error. Not too surprising I
suppose. I've got a good copy of my filesystem on tape so if I could
manage to run a restore session I think I could replace the file. How
do I fix this?

Posted by Andreas Kahari on November 3rd, 2003


In article <bac833fe.0311031205.6c031f13@posting.google.com>, asumoactingbig wrote:
What unix is this? on most free unices you just

cd /dev
./MAKEDEV all

as root to rebuild all devices...

--
Andreas Kähäri

Posted by phn@icke-reklam.ipsec.nu on November 3rd, 2003


asumoactingbig <asumoactingbig@yahoo.com> wrote:
mknod is the command to create devicefiles. What parameters you need
is a function of what OS and version you use.

--
Peter Håkanson
IPSec Sverige ( At Gothenburg Riverside )
Sorry about my e-mail address, but i'm trying to keep spam out,
remove "icke-reklam" if you feel for mailing me. Thanx.