Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!ucsd!ncr-sd!babel!williamt From: williamt@babel.SanDiego.NCR.COM (Wm. Tseng) Newsgroups: comp.unix.questions Subject: Driver close system call Message-ID: <1193@ncr-sd.SanDiego.NCR.COM> Date: 29 Mar 89 19:59:35 GMT Sender: news@ncr-sd.SanDiego.NCR.COM Reply-To: williamt@babel.SanDiego.NCR.COM (Wm. Tseng) Distribution: usa Organization: NCR Corporation, Rancho Bernardo Lines: 12 I have a question about driver close routine. Thanks in advance for any answer. If a process exits or terminates before it closes a driver, does kernel close the driver for that process ? In user process, several processes can open the same driver. Are driver open and close routines executed as many time as process calls it ? Does kernel control the close system call, so close is only executed once (when last process closes it)? When system crash, does kernel close all the opened file and driver or just leave them open ? william williamt@babel.sandiego.ncr.com