From owner-freebsd-questions Sat Mar 9 18:43:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web14909.mail.yahoo.com (web14909.mail.yahoo.com [216.136.225.61]) by hub.freebsd.org (Postfix) with SMTP id 404B437B405 for ; Sat, 9 Mar 2002 18:43:12 -0800 (PST) Message-ID: <20020310024308.50979.qmail@web14909.mail.yahoo.com> Received: from [202.71.141.13] by web14909.mail.yahoo.com via HTTP; Sat, 09 Mar 2002 18:43:08 PST Date: Sat, 9 Mar 2002 18:43:08 -0800 (PST) From: Balaji Subject: Help on VFS operations To: mwm@mired.org Cc: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello there, I am using vn_open and vn_rdwr for opening and read/writing to a file on a SCSI disk in the kernel. Now, when I want to close the file, I use VOP_UNLOCK followed by vn_close. This finishes properly but the disk becomes inaccessible after the close operation. How can I eliminate this problem? I need to unmount the disk immediately after closing the file. Awaiting your reply. Yours Sincerely, Balaji Raghavan __________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message