From owner-freebsd-current@FreeBSD.ORG Wed Apr 23 05:28:33 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7605E37B401; Wed, 23 Apr 2003 05:28:33 -0700 (PDT) Received: from mail.tcoip.com.br (erato.tco.net.br [200.220.254.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 432A943FBF; Wed, 23 Apr 2003 05:28:30 -0700 (PDT) (envelope-from dcs@tcoip.com.br) Received: from tcoip.com.br ([10.0.2.6]) by mail.tcoip.com.br (8.11.6/8.11.6) with ESMTP id h3NCSA902959; Wed, 23 Apr 2003 09:28:12 -0300 Message-ID: <3EA686D9.50808@tcoip.com.br> Date: Wed, 23 Apr 2003 09:28:09 -0300 From: "Daniel C. Sobral" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4a) Gecko/20030416 X-Accept-Language: en-us, en, pt-br, ja MIME-Version: 1.0 To: Terry Lambert References: <3EA4946F.DBF7B2CC@mindspring.com> <20030422120346.L54751@squirm.dsto.defence.gov.au> <3EA4BEC2.2BE0AC73@mindspring.com> In-Reply-To: <3EA4BEC2.2BE0AC73@mindspring.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Robert Watson cc: current@freebsd.org Subject: Re: HEADS UP: UFS2 now the default creation type on 5.0-CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2003 12:28:33 -0000 Terry Lambert wrote: > "Wilkinson,Alex" wrote: > >>Thanks for that. >> >>Do you know if UFS2 dynamically allocates inodes ? > > > No; it gets them from the prereserved inodes area that is ? AFAIK, it *does* dynamically allocate inodes. > the result of the "-i" parameter. The "newfs" program has > not changed that significantly, though the superblock has > changed some. > > However, realize that the size of the on disk inode has > doubled in size (from 128 to 256 bytes) because of the new > pointer 64 bit indices. > > You should probably look at /usr/src/sys/ufs/ufs/dinode.h. > > Also, realize that almost all the other code is the same; > in other words, it's important to know that we are talking > about "UFS2", and *NOT* talking about "FFS2". > > In other words, this is about a flat numeric namespace for > files, and the FFS directory structure information that's > layered on top is not really variant, except as necessary > due to implicit layering (a grep for "UFS2" in the files in > /usr/src/sys/ufs/ffs is informative). > > -- Terry > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" -- Daniel C. Sobral (8-DCS) Gerencia de Operacoes Divisao de Comunicacao de Dados Coordenacao de Seguranca VIVO Centro Oeste Norte Fones: 55-61-313-7654/Cel: 55-61-9618-0904 E-mail: Daniel.Capo@tco.net.br Daniel.Sobral@tcoip.com.br dcs@tcoip.com.br Outros: dcs@newsguy.com dcs@freebsd.org capo@notorious.bsdconspiracy.net Everyone's in a high place when you're on your knees.