From owner-freebsd-questions@FreeBSD.ORG Thu Dec 2 02:56:58 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 8879116A4CE for ; Thu, 2 Dec 2004 02:56:58 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5097A43D39 for ; Thu, 2 Dec 2004 02:56:58 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id C7BB9512CE; Wed, 1 Dec 2004 19:02:21 -0800 (PST) Date: Wed, 1 Dec 2004 19:02:21 -0800 From: Kris Kennaway To: cm c Message-ID: <20041202030221.GA9994@xor.obsecurity.org> References: <41AE7C93.2010707@cogeco.ca> <20041202024210.50483.qmail@web15311.mail.bjs.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ReaqsoxgOBHFXBhH" Content-Disposition: inline In-Reply-To: <20041202024210.50483.qmail@web15311.mail.bjs.yahoo.com> User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org Subject: Re: Why can't I do "mknod /dev/cdev c 32 0" 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: Thu, 02 Dec 2004 02:56:58 -0000 --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 02, 2004 at 10:42:10AM +0800, cm c wrote: > The output of 'uname -a' is: > FreeBSD .itc.inventec 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 5 = 02:55:42 GMT 2003 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERI= C i386 > =20 > It's 5.x, but if the node is created automatically, how do I use > open? I mean, under linux, user space processes need do > 'open("/dev/cdev") before do other things, can /dev/cdev be created > automatically? I don't think so. Yes, it can, if the driver supports that. You should update to 5.3 though, becuase you're probably hitting a bug that was fixed ages ago. Also, please wrap your lines at 70 characters so that your emails may be easily read. Kris --ReaqsoxgOBHFXBhH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBroW9Wry0BWjoQKURAm7LAJ9S7Ngc2TQjZpTIY2mrdVfNziubwgCfZbo5 1ef+6HrT4ipPK/78Sy8WecM= =PQiY -----END PGP SIGNATURE----- --ReaqsoxgOBHFXBhH--