HEADS UP: UFS2 now the default creation type on 5.0-CURRENT
Daniel C. Sobral
dcs at tcoip.com.br
Wed Apr 23 05:28:33 PDT 2003
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.
More information about the freebsd-current
mailing list