[NTLUG:Discuss] HELP! I deleted /dev/hdd

Rick Cook rickcook at sbcglobal.net
Thu Nov 8 23:41:44 CST 2001


On Thursday 08 November 2001 11:07, you wrote:
> OK.  Great!  Smooth move Richard!  Instead of deleting /dev/cdrom so I
> could make a new symlink...I deleted /dev/hdd.
>
> Well, I went ahead and created my new symlink, but how do I get my /dev/hdd
> back?  I'm guessing a mknod is in order but I don't understand mknod.
>
> Help!

How about a "cookbook" to follow?

As root:

# cd /dev
# ./MAKEDEV hdd

If that does not work:

# cd /dev
# mknod hdd b 22 64


The ./MAKEDEV script should theoretically issue the mknod command for you. 


Rick



More information about the Discuss mailing list