Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2001 23:23:43 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Alfred Perlstein <bright@wintelcom.net>
Cc:        John Baldwin <jhb@FreeBSD.ORG>, Brian Somers <brian@Awfulhak.org>, freebsd-arch@FreeBSD.ORG
Subject:   Re: Cloned open support 
Message-ID:  <24995.980807023@critter>
In-Reply-To: Your message of "Mon, 29 Jan 2001 14:16:21 PST." <20010129141621.F26076@fw.wintelcom.net> 

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

>> Why not use an ioctl on the control device to get a minor number to
>> use?  The ioctl could then do a make_dev() on the appropriate device
>> to create it.
>
>Yes, but will it swap the current open fd with the new device?
>
>Afaik the idea is to remove the race condition.

Guys, we *already have* cloning support that either does or can
do all of this with only minor adjustments.

You are sitting in a car discussing how to invent the wheel :-)

--
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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