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

Re: Confusion over missing /dev entries for new drive



On Sat, 15 Jun 2002 11:47:00 -0700 (PDT)
Pete Leonard <pete@hero.com> wrote:

> I've got 4 IDE drives that I've been adding to my OBSD box (master &
> slave drives on 2 separate channels).
> 
> using fdisk, disklabel, and newfs worked fine on wd1, wd2, and wd3.
> 
> But I'm having problems with wd4.

wd4 shouldn't be used. Labeling starts at 0, so you should have wd0 ->
wd3. 

> as an example:
> bash-2.05# disklabel wd4                                              
>  disklabel: /dev/rwd4: No such file or directory

Don't use bash, use zsh :) (though it has nothing to do with the problem
at hand)

> So I figured that for whatever reason, the default OBSD install
> doesn't include device entries for more than 4 IDE drives.

Indeed, but 4 drives are supported without needed to do anything. to
create more:

cd /dev
./MAKEDEV wd4
but you don't need wd4, see higher.

> This is where I'm somewhat out of my league.  The mknod man page makes
> reference to MAKEDEV.  MAKEDEV has no entry for a device name of
> 'rwd'. The OBSD FAQ doesn't seem to have much to say about creating
> new devices.

And to conclude, a dmesg might have been usefull in this case.

// nick