Date: Tue, 15 Oct 1996 22:44:02 +0200 (MET DST) From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-current@FreeBSD.org (FreeBSD-current users) Subject: Re: device driver open/close inconsistency Message-ID: <199610152044.WAA13617@uriah.heep.sax.de> In-Reply-To: <193.845397271@critter.tfs.com> from Poul-Henning Kamp at "Oct 15, 96 06:34:31 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
As Poul-Henning Kamp wrote: > Why do we call a device-driver->open() on all opens, but only ->close() > once on the last close ? You can open it multiple times (it stays open meanwhile), but only close it once. Certainly, it's mostly history. It made the console code (not the syscons/pcvt/sio stuff, just the real console) rather hard. Some people might still remember the ``syscons freezes during the nightly syslogd restart'' syndrome... Julian's comment regarding forks is certainly also part of the game. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610152044.WAA13617>