Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 2001 14:06:43 -0800 (PST)
From:      Luigi Rizzo <rizzo@aciri.org>
To:        imp@harmony.village.org (Warner Losh)
Cc:        rizzo@aciri.org, daverufino@btinternet.com, hackers@FreeBSD.ORG
Subject:   Re: character device driver
Message-ID:  <200102132206.f1DM6mn40550@iguana.aciri.org>
In-Reply-To: <200102132202.f1DM20W41714@harmony.village.org> from Warner Losh at "Feb 13, 2001  3: 2: 0 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> : > No.  You only get one close call and in the kernel all instances of a
> : > minor device are treated identically.
> : 
> : this is not true anymore, there is some special flag you can
> : specify in cdevsw or so which passes all close calls to the driver.
> 
> It is only half untrue.  There's a special flag to get all calls to

ok, i was only commenting on the flag to get all close calls to the driver
(you still get to know the pid of the process issuing the close() but
this is not always enough).

	cheers
	luigi



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?200102132206.f1DM6mn40550>