On 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 di
On Tue, Mar 13, 2001 at 01:11:10PM +, 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:
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 2
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, se
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/hd
5 matches
Mail list logo