LinuxQuestions.org
Help answer threads with 0 replies.
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, 07: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, 08: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, 07: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 08:11 PM
a big mistake cbb Linux - Software 5 08-16-2005 07:41 AM
terrible mistake - chmod -R o+rx /dev ddaas Red Hat 1 08-05-2005 05:38 AM
RPM mistake ! Kanaflloric Linux - Software 7 08-25-2004 05:15 AM
grub-install /dev/hda1 = bad mistake? raedt Linux - General 4 08-17-2003 04:35 AM


All times are GMT -5. The time now is 12:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration