From owner-freebsd-fs Thu Aug 8 15: 3:57 2002 Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9C0237B400 for ; Thu, 8 Aug 2002 15:03:53 -0700 (PDT) Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6218D43E72 for ; Thu, 8 Aug 2002 15:03:53 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0394.cvx40-bradley.dialup.earthlink.net ([216.244.43.139] helo=mindspring.com) by avocet.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17cvNg-00051P-00; Thu, 08 Aug 2002 15:03:44 -0700 Message-ID: <3D52EA8C.EB3C94A5@mindspring.com> Date: Thu, 08 Aug 2002 15:02:52 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: hiten@uk.FreeBSD.org Cc: Rashim Gupta , "David E. Cross" , fs@freebsd.org Subject: Re: vnodes (UFS journaling)? References: <20020808213242.72797.qmail@web21106.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hiten Pandya wrote: > --- Rashim Gupta wrote: > > we are trying to implement a logging facility for the File System. Hence > > we need to open the log file and keep its vnode open throughout the > > duration while the system is mounted. Hence, we cannot free the vnode > > after searching for it using the root file system since we need to access > > it later on. However, if we do not > > return the vnode, then doing an "ls -al" in the dirctory where the log > > file is present hangs the kernel. > > Just wondering, are you planning to use a device, or just a file on a > filesystem for doing the logging? They are using a file. He said so right in his second sentence which you are quoting, above. I've already pointed them to source code to do what they need. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message