Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2001 01:57:54 -0600
From:      Christopher Farley <chris@northernbrewer.com>
To:        Eric Parkin <eparkin@op.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: MAKEDEV
Message-ID:  <20010206015753.A33909@northernbrewer.com>
In-Reply-To: <01020600114000.00488@tenchi.sakuya>; from eparkin@op.net on Tue, Feb 06, 2001 at 12:08:06AM -0500
References:  <01020600114000.00488@tenchi.sakuya>

next in thread | previous in thread | raw e-mail | index | archive | help
Eric Parkin (eparkin@op.net) wrote:

> Hello, 
> 
>     I recently installed FreeBSD 4.2 on my home box.  I've set the system up
> the way I like, and recently modified and recompiled the kernel to include
> support for my ESS based Sound Card.  Following the howtos and what nots, I
> reached the step for "sh MAKEDEV snd0" only to find that I do not have MAKEDEV
> on my system.. I did the various 'whereis MAKEDEV' commands, etc. and have
> found absolutely nothing.  I have the 'man' pages for 'MAKEDEV' though that
> seems to be the extent of it.  my /dev directory doesn't have 'MAKEDEV' either.
> Where can I get 'MAKEDEV' and/or what do I need to for the equivalent of the
> 'sh MAKEDEV snd0' command?  Any and all assistance is greatly apprecaited.

MAKEDEV is a shell script which *should* reside in /dev. Since /dev is
not in your PATH, you cannot locate it using commands like 'which
MAKEDEV'. 

The normal way I run MAKEDEV is to cd /dev and either 'sh MAKEDEV' or
'./MAKEDEV'.

I'm trying to think of reasons that MAKEDEV wouldn't be in the /dev dir,
but I'm currently at a loss.

An easy way to get an up-to-date MAKEDEV script is download one from the
CVS web repository:
http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/MAKEDEV

Download the file, and (as root) copy the file to /dev. You will
also want to 'chmod 555 MAKEDEV'

-- 
Christopher Farley
www.northernbrewer.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010206015753.A33909>