Re: making /dev/hdc a block device
Hi,
first you have to remove the old file, with 'rm /dev/hdc'.
Making devices should go with:
cd /dev
./MAKEDEV hdc
but I am not sure.
For making devices you use mknod:
mknod NAME TYPE MAJOR MINOR,
so in your case:
mknod hdc b 22 0
and chgrp it to disk.
Greetz,
Sebastiaan
On Tue, 13 Mar 2001, pplaw wrote:
> debs,
>
> i mucked up /dev/hdc to where it isn't listed as a
> block device (so i'm having trouble mounting it):
>
> 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.
>
> ia, t.
>
> bentley taylor.
>
> //
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
Reply to: