Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Dec 2004 19:02:21 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        cm c <beatlelittle@yahoo.com.cn>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Why can't I do "mknod /dev/cdev c 32 0"
Message-ID:  <20041202030221.GA9994@xor.obsecurity.org>
In-Reply-To: <20041202024210.50483.qmail@web15311.mail.bjs.yahoo.com>
References:  <41AE7C93.2010707@cogeco.ca> <20041202024210.50483.qmail@web15311.mail.bjs.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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