RE: making /dev/hdc a block device

2001-03-13 Thread Carlos Laviola
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

reporting back (re: making /dev/hdc a block device)

2001-03-13 Thread pplaw
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:

Re: making /dev/hdc a block device

2001-03-13 Thread Sebastiaan
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

Re: making /dev/hdc a block device

2001-03-13 Thread Mike Dresser
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

making /dev/hdc a block device

2001-03-13 Thread pplaw
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