From owner-freebsd-questions Mon Feb 21 18:59:13 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id EBF0437B5F2 for ; Mon, 21 Feb 2000 18:59:07 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id VAA03673; Mon, 21 Feb 2000 21:58:34 -0500 (EST) (envelope-from cjc) Date: Mon, 21 Feb 2000 21:58:34 -0500 From: "Crist J. Clark" To: Marc Wandschneider Cc: freebsd-questions@FreeBSD.ORG Subject: Re: MAKEDEV not doing anythign Message-ID: <20000221215833.B3426@cc942873-a.ewndsr1.nj.home.com> Reply-To: cjclark@home.com References: <000601bf7c35$59cecfe0$0300000a@katana> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <000601bf7c35$59cecfe0$0300000a@katana>; from marcw@lanfear.com on Sun, Feb 20, 2000 at 10:31:56PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Feb 20, 2000 at 10:31:56PM -0800, Marc Wandschneider wrote: > > > moo! > > so, i added a new CD ROM drive to my FreeBSD 3.3 machine (HP Writer) and > there are no devices in /DEV for it. > > So, I'm trying to create one by typing: > > ./MAKEDEV cd1 > > which does absolutely nothing. Similiarily MAKEDEV scd1 does nothing. > > What do I have to do to create the device files for the new drive? dmesg > definitely shows that the drive is cd1, whereas the other drive is cd0 ... > > what am i doing wrong? The MAKEDEV syntax got weird at some point. When you say, './MAKEDEV cd1', MAKEDEV takes that to mean you want to create one cd-device, namely, cd0. If you check the file creation times, you'll see './MAKEDEV cd1' _does_ do something. It re-creates cd0. You need to try cd2 to make two, cd0 and cd1. If the drive is a SCSI one, you want the cd-device. The scd-device is for ancient Sony CDROMs with a proprietary controller card. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message