From owner-freebsd-fs@FreeBSD.ORG Wed Sep 29 17:14:07 2004 Return-Path: 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 8BB8E16A4CE for ; Wed, 29 Sep 2004 17:14:07 +0000 (GMT) Received: from pd4mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 284D643D41 for ; Wed, 29 Sep 2004 17:14:07 +0000 (GMT) (envelope-from nehalmistry@gmx.net) Received: from pd5mr8so.prod.shaw.ca (pd5mr8so-qfe3.prod.shaw.ca [10.0.141.184]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0I4T00BM0BV0JQB0@l-daemon> for freebsd-fs@freebsd.org; Wed, 29 Sep 2004 11:13:48 -0600 (MDT) Received: from pn2ml5so.prod.shaw.ca ([10.0.121.149]) by pd5mr8so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0I4T00CJGBV0VE40@pd5mr8so.prod.shaw.ca> for freebsd-fs@freebsd.org; Wed, 29 Sep 2004 11:13:48 -0600 (MDT) Received: from nehal (S0106000ae6ceb225.vf.shawcable.net [70.68.12.33]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with SMTP id <0I4T00LJBBV0WV@l-daemon> for freebsd-fs@freebsd.org; Wed, 29 Sep 2004 11:13:48 -0600 (MDT) Date: Wed, 29 Sep 2004 10:14:03 -0700 From: Nehal To: freebsd-fs@freebsd.org Message-id: <20040929101403.000027aa@nehal> MIME-version: 1.0 X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.3.0; Win32) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit Subject: data blocks question X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2004 17:14:07 -0000 on my ufs2 partition, there is a file that has a size of 65536, and has 2 direct blocks only. the block size of the fs is 16k and fragment block size is 2k. how can this be possible? wouldn't 2 direct blocks mean that the maximum size is 2x16k = 32k? or am i not understanding something correctly? i've made a copy of the file, and the new file has 4 direct blocks. it is a binary file, and i can read it fine (ie, cat it). i've done fsck on the filesystem and it found no problem. Nehal