Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!lll-winken!uunet!ncrlnk!ncrcae!rogerc From: rogerc@ncrcae.Columbia.NCR.COM (Roger Collins) Newsgroups: comp.unix.questions Subject: Re: Driver close system call Message-ID: <4338@ncrcae.Columbia.NCR.COM> Date: 30 Mar 89 14:13:00 GMT References: <1193@ncr-sd.SanDiego.NCR.COM> <4337@ncrcae.Columbia.NCR.COM> Reply-To: rogerc@ncrcae.Columbia.NCR.COM (Roger Collins) Distribution: usa Organization: NCR - E & M Columbia Lines: 13 In article <4337@ncrcae.Columbia.NCR.COM> I write: > > Yes. All files (includes device nodes, regular files, pipes, etc.) are > closed. Oops. The question was does the kernel close the *driver* when a process terminates? The answer is clear if you read the rest of my posting, but just in case: All the files opened by the process are closed. If the file that is the device node for the driver is closed and the reference count is zero (last close for the device), then... yes, the driver gets closed when the process terminates. Otherwise no.