Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Nov 2000 20:35:14 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        msmith@FreeBSD.ORG (Mike Smith)
Cc:        bschwand@dvart.com (bruno schwander), freebsd-hackers@FreeBSD.ORG
Subject:   Re: close call in a device ?
Message-ID:  <200011082035.NAA25463@usr08.primenet.com>
In-Reply-To: <200011080305.eA835rF34155@mass.osd.bsdi.com> from "Mike Smith" at Nov 07, 2000 07:05:53 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




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