From owner-freebsd-fs Tue Nov 5 17:32:48 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 E9EA637B404 for ; Tue, 5 Nov 2002 17:32:47 -0800 (PST) Received: from cs.rpi.edu (mumble.cs.rpi.edu [128.213.8.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDAE443E42 for ; Tue, 5 Nov 2002 17:32:46 -0800 (PST) (envelope-from guptar@cs.rpi.edu) Received: from jenolen.cs.rpi.edu (jenolen.cs.rpi.edu [128.213.12.42]) by cs.rpi.edu (8.9.3/8.9.3) with ESMTP id UAA97929; Tue, 5 Nov 2002 20:32:31 -0500 (EST) Received: from localhost (guptar@localhost) by jenolen.cs.rpi.edu (8.11.6+Sun/8.9.3) with ESMTP id gA61WV600292; Tue, 5 Nov 2002 20:32:31 -0500 (EST) X-Authentication-Warning: jenolen.cs.rpi.edu: guptar owned process doing -bs Date: Tue, 5 Nov 2002 20:32:31 -0500 (EST) From: Rashim Gupta To: Alfred Perlstein Cc: "David E. Cross" , Subject: Block alloc question In-Reply-To: <20021101093713.GK24139@elvis.mu.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Hi, I have a question about the Block Alloc operation. When I have to log a block alloc operation, I think I need to log the Inode number of the file, the corresponding block and the position in the file where the block is added. My question is how can I know at what position in the file is the block added? What function/structure handles this operation? -- Thanks Rashim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message