From owner-freebsd-hackers Wed Jan 26 1:46:11 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mass.cdrom.com (castles559.castles.com [208.214.165.123]) by hub.freebsd.org (Postfix) with ESMTP id E27B014F1A for ; Wed, 26 Jan 2000 01:46:05 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id BAA00698; Wed, 26 Jan 2000 01:52:32 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Message-Id: <200001260952.BAA00698@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: "Andrew G. Sverdlichenko" Cc: "'freebsd-hackers@freebsd.org'" Subject: Re: drivers In-reply-to: Your message of "Tue, 25 Jan 2000 16:30:14 +0300." <31301C81A549D311B46C006008610325125602@NT_SERVER> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 26 Jan 2000 01:52:32 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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. -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message