[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: making /dev/hdc a block device



pplaw wrote:

> ls -l /dev/hdc
>
> -rw-r--r-- 2 root  root  0 Mar 12 10:06 /dev/hdc
>
> (one of my other boxes shows it the right way:
>
> brw-rw---- 1 root  disk 22, 0 Jul 5 2000
> /dev/hdc.)
>
> how do i make /dev/hdc a block device, again.
>

rm /dev/hdc
mknod /dev/hdc b 22 0

tested it here, seems to work
don't forget to change the permissions to match your previous setup

mike



Reply to: