Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2001 14:28:34 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        John Baldwin <jhb@FreeBSD.ORG>, Brian Somers <brian@Awfulhak.org>, freebsd-arch@FreeBSD.ORG
Subject:   Re: Cloned open support
Message-ID:  <20010129142834.G26076@fw.wintelcom.net>
In-Reply-To: <24995.980807023@critter>; from phk@critter.freebsd.dk on Mon, Jan 29, 2001 at 11:23:43PM %2B0100
References:  <20010129141621.F26076@fw.wintelcom.net> <24995.980807023@critter>

next in thread | previous in thread | raw e-mail | index | archive | help
* Poul-Henning Kamp <phk@critter.freebsd.dk> [010129 14:23] wrote:
> 
> >> 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.

/me hands you a wrench

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

then we are waiting to be enlightened. :)

thanks,
-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."


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?20010129142834.G26076>