From owner-freebsd-questions Wed Sep 5 12:47:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from lila.inti.gov.ar (lila.inti.gov.ar [200.10.161.32]) by hub.freebsd.org (Postfix) with ESMTP id 76C5937B50D for ; Wed, 5 Sep 2001 12:47:10 -0700 (PDT) Received: from nav.inti.gov.ar ([200.10.161.45]) by lila.inti.gov.ar with smtp (Exim 3.02 #1) id 15eidh-0004Sv-02 for questions@FreeBSD.ORG; Wed, 05 Sep 2001 16:47:09 -0300 Received: from iib005.iib.unsam.edu.ar ([200.3.113.15]) by NAV.inti.gov.ar (NAVGW 2.5.1.12) with SMTP id M2001090516512505654 ; Wed, 05 Sep 2001 16:51:25 -0300 Received: (from fernan@localhost) by iib005.iib.unsam.edu.ar (8.11.3/8.11.3) id f85Jl7u34098; Wed, 5 Sep 2001 16:47:07 -0300 (ART) (envelope-from fernan) Date: Wed, 5 Sep 2001 16:47:07 -0300 From: Fernan Aguero To: questions@FreeBSD.ORG Cc: kris@obsecurity.org, banksw@fang.cs.sunyit.edu Subject: Re: to MAKEDEV or not to MAKEDEV, that is my question Message-ID: <20010905164707.A1031@iib005.iib.unsam.edu.ar> Mail-Followup-To: questions@FreeBSD.ORG, kris@obsecurity.org, banksw@fang.cs.sunyit.edu References: <20010905120614.D76765@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010905120614.D76765@xor.obsecurity.org>; from kris@obsecurity.org on Wed, Sep 05, 2001 at 12:06:14PM -0700 X-PGP-Key: http://genoma.unsam.edu.ar/~fernan/pubkey.asc Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG +----[ Kris Kennaway dijo sobre "Re: to MAKEDEV or not to MAKEDEV, | that is my question": | | If that hardware uses devices, and when you try and access the | hardware the devices for it don't exist, you need to MAKEDEV them. | | That's really about as difficult as it gets. | | Kris | +----] The difficulty arises when you don't know _what_ to make. Quoting the Handbook: " Suppose you add the IDE CD-ROM support to the kernel. The line to add " is: " " device acd0 " " ... " " ... change to the /dev directory and type: " " sh MAKEDEV acd0 " " ... " " For sound cards the following command creates the appropriate " entries: " " sh MAKEDEV snd0 I needed sound so I added a 'device pcm' line to my kernel config file. Now why is it so _obvious_ that I should do a sh MAKEDEV snd0 (from the handbook) and not sh MAKEDEV pcm or sh MAKEDEV sound or sh MAKEDEV dsp sh MAKEDEV audio etc It's like saying something like "I want to list the contents of a directory, but I don't know the command to do it ...". Clearly, unless you know it beforehand, it is not intuitive that you should type "ls". You have to ask somebody or read several pages of a book before getting to know that. Fernan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message