[NTLUG:Discuss] HELP! I deleted /dev/hdd
Jonathan Brugge
jonathan_brugge at hotmail.com
Thu Nov 8 11:15:10 CST 2001
>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.
Well, I guess MAKEDEV kan do the same for you, but mknod can be used too.
odysseus at odysseus:~$ file /dev/hdd
/dev/hdd: block special (22/64)
odysseus at odysseus:~$
So you probably have to create a device with type 'block' and major/minor
22/64. The command that does that would be: 'mknod /dev/hdd b 22 64'.
[Note: I never used mknod, so you probably want to take a look at the
manpage before you actually run this, but this is what I think that is
should be.]
Oh, and I think undelete (or better: relink) actually exists. Though I've
never used mc, I heard of versions with undelete compiled in.
Jonathan Brugge
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
More information about the Discuss
mailing list