On 08/13/2006 05:45 AM, [EMAIL PROTECTED] wrote:
Some time ago I messed with /dev/hdc, and ended up with this:

[EMAIL PROTECTED]:~# ls -l /dev/hdc
total 0
brw-rw----  1 root disk 22, 0 Aug 25  2005 hdc-
[EMAIL PROTECTED]:~# ls -ld /dev/hdc
drw-rw----  2 root disk 4096 Aug 25  2005 /dev/hdc
[EMAIL PROTECTED]:~# file /dev/hdc
/dev/hdc: directory

Everything has been working allright with a cd-drive attached, but now I have an old hard drive attaced at that second ide cable in the master position, and I'm not able to access it with fdisk, cfdisk or testdisk etc. My knowledge on device nodes and the like is close to none, but I understand that /dev/hdc should be a block special device.

What should I do to restore this?



Remove the messed-up hdc and use "mknod" to create a proper hdc with major number 22 and minor number 0.

man mknod




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to