LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-26-2004, 06:47 AM   #1
erickFis
Member
 
Registered: Jun 2003
Location: Brasil
Distribution: Slackware 13.1_64 Gold Edition
Posts: 209

Rep: Reputation: 32
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!
 
Old 02-26-2004, 07:08 AM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
try "mknod /dev/hdc b 3 0"
 
Old 02-27-2004, 06:29 AM   #3
erickFis
Member
 
Registered: Jun 2003
Location: Brasil
Distribution: Slackware 13.1_64 Gold Edition
Posts: 209

Original Poster
Rep: Reputation: 32
thanks!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I cannot access EITHER CD drive! And there's no /dev/hdc or /dev/hdd or /dev/cdrom! Dmalic Linux - Hardware 13 11-18-2005 07:11 PM
a big mistake cbb Linux - Software 5 08-16-2005 06:41 AM
terrible mistake - chmod -R o+rx /dev ddaas Red Hat 1 08-05-2005 04:38 AM
RPM mistake ! Kanaflloric Linux - Software 7 08-25-2004 04:15 AM
grub-install /dev/hda1 = bad mistake? raedt Linux - General 4 08-17-2003 03:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration