From owner-freebsd-questions@FreeBSD.ORG Sun Mar 7 20:17:45 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7F0E16A4CF for ; Sun, 7 Mar 2004 20:17:45 -0800 (PST) Received: from smtpo02.icare.priv (unknown [203.78.64.148]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9EB143D2D for ; Sun, 7 Mar 2004 20:17:44 -0800 (PST) (envelope-from satimis@icare.com.hk) Received: from smtpi02.icare.priv ([10.11.12.45]) by smtpo02.icare.priv with Microsoft SMTPSVC(5.0.2195.5329); Mon, 8 Mar 2004 12:17:42 +0800 Received: from 203.88.164.223 ([203.88.164.223]) by smtpi02.icare.priv with Microsoft SMTPSVC(5.0.2195.5329); Mon, 8 Mar 2004 12:17:42 +0800 From: Stephen Liu To: Kris Kennaway Date: Mon, 8 Mar 2004 22:54:46 +0800 User-Agent: KMail/1.5.4 References: <200403081945.16907.satimis@icare.com.hk> <20040308033511.GA56389@xor.obsecurity.org> In-Reply-To: <20040308033511.GA56389@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403082254.46315.satimis@icare.com.hk> X-OriginalArrivalTime: 08 Mar 2004 04:17:42.0767 (UTC) FILETIME=[4D263FF0:01C404C4] cc: questions@freebsd.org Subject: Re: MAKEDEV question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2004 04:17:45 -0000 > > FreeBSD 5.2 > > > > I am now configuring printer and aware that 'MAKEDEV' has been replaced > > with 'devfs' > > > > According to handbook I should run > > > > # ./MAKEDEV lpt0 (para port) > > > > whether to be replaced with > > > > # ./devfs -m lpt0 > > The device should be created automatically if your kernel detects the > device. Hi Kris, Tks for your response. # grep ppc0 /var/run/dmesg.boot ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/7 bytes threshold ppbus0: on ppc0 I suppose lpt0 is supported. But # ls -l lpt0 ls: lpt0: No such file or directory # ls -al /dev/ | grep lpt0 crw------- 1 root wheel 16, 0 Mar 8 17:38 lpt0 crw------- 1 root wheel 16, 128 Mar 8 17:38 lpt0.ctl (Is it necessary turning on the printer before running above command) OR Shall I run # ./devfs -m lpt0 Kindly advise. TIA B.R. Stephen