> I make extensive use of softraid crypto on two internal and a bunch of
> external disks.  This results in up to 32 sd(4) devices attaching to
> my machine.  However, by default MAKEDEV only creates 10 sd device
> nodes in /dev.
> 
> How do people deal with this?  For now, I've got the following in
> /etc/rc.local:
> 
>       # Create extra entries in /dev for all (softraid) disks
>       cd /dev
>       for X in `jot 25 10`
>       do
>               [ -f sd${X}c ] || sh MAKEDEV sd${X}
>       done
> 
> Does anyone have a better approach?
> 

This is just an idea.

Can you simply edit,

/usr/src/etc/etc.`uname -p`/MAKEDEV.md

to produce a /dev/MAKEDEV which will create all 32 device files by
default?

Reply via email to