Subject: Re: Creating the device special files.
To: Esha <esha@sharada.ncore.soft.net>
From: Colin Wood <cwood@ichips.intel.com>
List: netbsd-help
Date: 01/20/1999 23:59:13
Esha wrote:
> Hi,
>
> Is there any automatic method of creating the device special files under
> /dev directory ? I always created manually using mknod...
>
The usually recommended method for doing so is:
cd /dev
sh ./MAKEDEV
I believe that will make all the default devices. You can also give
arguments to the script, specifying what kind of devices you want to make.
/dev/MAKEDEV is just a shell script, so feel free to look at to see how it
works.
I hope this helps.
Later.
Colin