svn commit: r184753 - head/usr.sbin/sysinstall
Raphael Becker
rabe at uugrn.org
Fri Nov 7 16:28:27 PST 2008
On Fri, Nov 07, 2008 at 10:01:31PM +0000, Marc Fonvieille wrote:
> + "This will give you ready access to over 19,000 ported software packages,\n"
> + "at a cost of around 445MB of disk space when \"clean\" and possibly\n"
I see around 700M here, my ports are configured "read-only", so all
work/, packages/ distfiles/ and so on are outside /usr/ports, updates
are done by cvsup:
# df -mi /usr/ports/
Filesystem 1M-blocks Used Avail Capacity iused ifree %iused Mounted on
/dev/md0 1039 712 119 86% 129743 478895 21% /usr/ports
# du -sm /usr/ports/
713 /usr/ports/
It heavily depends on inode-sizes.
I have about 130k inodes in use which cause a "theoretical minimum"
of 508MB disk on filesystems with 4k inode-density, about 1G with 8k
inodes (default is 8k, see by newfs(8))
-i bytes
Specify the density of inodes in the file system. The default is
to create an inode for every (4 * frag-size) bytes of data space.
-f frag-size
The fragment size of the file system in bytes. It must be a
power of two ranging in value between blocksize/8 and blocksize.
The default is 2048 bytes.
An uncompressed tarball (without the "inode-overhead") of
/usr/ports/ is around 600MB here:
# tar cf - /usr/ports/ | wc -c
tar: Removing leading '/' from member names
629196800
or 600MB.
How did you measure / calculate 445MB?
Regards
Raphael
--
Raphael Becker <rabe at uugrn.org> http://rabe.uugrn.org/
GnuPG: E7B2 1D66 3AF2 EDC7 9828 6D7A 9CDA 3E7B 10CA 9F2D
.........|.........|.........|.........|.........|.........|.........|..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20081108/48e16c24/attachment.pgp
More information about the svn-src-all
mailing list