RE: Making new "/dev" entries
On 07-Jul-2000 Walter Williams wrote:
>
>
> Just "makedev lp3"? This is the part that I am a little
> vague on. Isn't there parameters to include with this?
> How does it know how which piece of hardware it is
> intended for? Or am I making this harder (in my head)
> than it really is?
>
> And you said FreeDSB? I'm wanting to do this in Linux.
>
it is MAKEDEV (all caps). The script is in /dev and you have to be in /dev
when you run it. MAKEDEV reads some magic files and contains some magic data,
so when you say 'MAKEDEV sound' it knows to make /dev/dsp, /dev/audio,
and /dev/mixer.
Reply to: