From owner-freebsd-hackers Wed Jan 26 9:17: 9 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from ind.alcatel.com (postal.xylan.com [208.8.0.248]) by hub.freebsd.org (Postfix) with ESMTP id B3DB1153D9; Wed, 26 Jan 2000 09:17:03 -0800 (PST) (envelope-from wes@softweyr.com) Received: from mailhub.xylan.com (mailhub [198.206.181.70]) by ind.alcatel.com (8.9.3+Sun/8.9.1 (ind.alcatel.com 3.0 [OUT])) with SMTP id JAA16516; Wed, 26 Jan 2000 09:17:02 -0800 (PST) X-Origination-Site: Received: from omni.xylan.com by mailhub.xylan.com (SMI-8.6/SMI-SVR4 (mailhub 2.1 [HUB])) id JAA14243; Wed, 26 Jan 2000 09:17:01 -0800 Received: from softweyr.com (dyn0.utah.xylan.com [198.206.184.236]) by omni.xylan.com (8.9.3+Sun/8.9.1 (Xylan engr [SPOOL])) with ESMTP id JAA01802; Wed, 26 Jan 2000 09:16:55 -0800 (PST) Message-ID: <388F2D2A.14764115@softweyr.com> Date: Wed, 26 Jan 2000 10:21:46 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.3-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Mike Smith Cc: "Andrew G. Sverdlichenko" , "'freebsd-hackers@freebsd.org'" Subject: Re: drivers References: <200001260952.BAA00698@mass.cdrom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Smith wrote: > > > Hello. > > > > If we have a character device driver with and more than one > > open handles for it, can read() and ioctl() choose which one > > is used? > > No. This is not how the BSD driver model works; you should create > multiple instances of the driver if you need multiple discrete opens. ENOCLONE? ;^) -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message