From owner-freebsd-multimedia Sun Mar 9 19:52:43 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA03241 for multimedia-outgoing; Sun, 9 Mar 1997 19:52:43 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA03234 for ; Sun, 9 Mar 1997 19:52:40 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.7.3) with ESMTP id TAA01880; Sun, 9 Mar 1997 19:52:27 -0800 (PST) Message-Id: <199703100352.TAA01880@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: "Louis A. Mamakos" cc: Steve Passe , multimedia@freebsd.org Subject: Re: Anyone on the list who can check-in the bt848 driver? In-reply-to: Your message of "Sun, 09 Mar 1997 22:22:17 EST." <199703100322.WAA10652@whizzo.transsys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 09 Mar 1997 19:52:27 -0800 From: Amancio Hasty Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >From The Desk Of "Louis A. Mamakos" : > I might be all wet here, but I think that the kernel only calls the > driver's close routine when the *last* reference to the open device > is closed. It's been awhile since I've hacked device driver code, but > I think this was the case a while ago. Hi, When a process exits , it should close all its opened devices . In other words, the device's close function. Usually, this is called resource management and is not necessarily the responsibility of the program rather the exit's handler to call the close function should the program failed to close the device. Cheers, Amancio