From owner-freebsd-hackers Wed Nov 8 12:35:52 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (Postfix) with ESMTP id 62A8837B479; Wed, 8 Nov 2000 12:35:49 -0800 (PST) Received: (from daemon@localhost) by smtp03.primenet.com (8.9.3/8.9.3) id NAA08515; Wed, 8 Nov 2000 13:33:53 -0700 (MST) Received: from usr08.primenet.com(206.165.6.208) via SMTP by smtp03.primenet.com, id smtpdAAANbaiyq; Wed Nov 8 13:33:23 2000 Received: (from tlambert@localhost) by usr08.primenet.com (8.8.5/8.8.5) id NAA25463; Wed, 8 Nov 2000 13:35:15 -0700 (MST) From: Terry Lambert Message-Id: <200011082035.NAA25463@usr08.primenet.com> Subject: Re: close call in a device ? To: msmith@FreeBSD.ORG (Mike Smith) Date: Wed, 8 Nov 2000 20:35:14 +0000 (GMT) Cc: bschwand@dvart.com (bruno schwander), freebsd-hackers@FreeBSD.ORG In-Reply-To: <200011080305.eA835rF34155@mass.osd.bsdi.com> from "Mike Smith" at Nov 07, 2000 07:05:53 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > If I understand you correctly, you have multiple processes all of which > are going to try to open /dev/foo, and you want them to behave as though > they have each opened a unique device? > > You can't do this with FreeBSD, or with many other Unixes. Any SVR4 system can support this. So can AIX. > Arguably, this is a defect with the device model. If you are trying to > fake up concurrent access to a device, and the client processes are only > going to read and write (no ioctls) to this device, then you can use a > fifo and a multiplexor process. > > Alternatively, and this would be recommended; fix the client program. Or fix the device model. You can't have multiple VMWARE sessions in FreeBSD today because of this defect in the device model. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message