From owner-freebsd-fs@FreeBSD.ORG Fri Jun 9 18:28:03 2006 Return-Path: X-Original-To: fs@freebsd.org 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 5699A16A47E for ; Fri, 9 Jun 2006 18:28:03 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C95443D90 for ; Fri, 9 Jun 2006 18:27:07 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [10.10.3.185] ([69.15.205.254]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k59IQopm039763; Fri, 9 Jun 2006 12:26:56 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4489BD63.7060309@samsco.org> Date: Fri, 09 Jun 2006 12:26:43 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mikhail Teterin References: <20060609065656.31225.qmail@web30313.mail.mud.yahoo.com> <200606091313.04913.mi+mx@aldan.algebra.com> <4489ADC9.3090809@samsco.org> <200606091330.10007.mi+mx@aldan.algebra.com> In-Reply-To: <200606091330.10007.mi+mx@aldan.algebra.com> Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.0 required=3.8 tests=none autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: fs@freebsd.org Subject: Re: Space-saving of UFS1 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jun 2006 18:28:03 -0000 Mikhail Teterin wrote: > п'ятниця 09 червень 2006 13:20, Scott Long написав: > >>The space savings you get from UFS1 is that the inodes are half the size >>and the indorect blocks can hold more block pointers. I don't believe >>that ACLs play a difference here. > > > Aren't the ACLs recorded in the inodes -- which would explain, why those are > twice larger in UFS2? Thanks! > > -mi The inode size was extended from 128 bytes to 256 bytes to allow for 64-bit block pointers. This includes 12 direct block pointers and one pointer for each of the single, double, and triple indirect blocks. That didn't fill left some extra space in the 256 bytes, so ACL size info and block pointers were put in there. However, ACLs are just a side effect of the larger size, not the sole reason. And, ACLs are not actually stored in the inode, only block pointers to them are. Scott