Re: HEADS UP: UFS2 now the default creation type on 5.0-CURRENT

From: Daniel C. Sobral <dcs_at_tcoip.com.br>
Date: Wed, 23 Apr 2003 09:28:09 -0300
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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_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_at_tco.net.br
         Daniel.Sobral_at_tcoip.com.br
         dcs_at_tcoip.com.br

Outros:
	dcs_at_newsguy.com
	dcs_at_freebsd.org
	capo_at_notorious.bsdconspiracy.net

Everyone's in a high place when you're on your knees.
Received on Wed Apr 23 2003 - 03:28:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:04 UTC