From owner-freebsd-hackers Tue Feb 13 13:24:47 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from harmony.village.org (rover.village.org [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 8F2F637B6A0 for ; Tue, 13 Feb 2001 13:24:41 -0800 (PST) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.1/8.11.1) with ESMTP id f1DLOTW41431; Tue, 13 Feb 2001 14:24:29 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200102132124.f1DLOTW41431@harmony.village.org> To: David Rufino Subject: Re: character device driver Cc: hackers@FreeBSD.ORG In-reply-to: Your message of "Tue, 13 Feb 2001 19:31:50 GMT." <20010213193150.A882@btinternet.com> References: <20010213193150.A882@btinternet.com> Date: Tue, 13 Feb 2001 14:24:29 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010213193150.A882@btinternet.com> David Rufino writes: : I'm writing a character device driver in which each minor device can be : opened more than once. When a device is opened is there a way to associate : some private data for each opened instance ? Thanks. No. You only get one close call and in the kernel all instances of a minor device are treated identically. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message