Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Oct 2023 18:09:43 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-current@freebsd.org
Subject:   something magic about the size of a ports tree
Message-ID:  <ZRw8x58bxtp26A8e@c720-1400094.fritz.box>

next in thread | raw e-mail | index | archive | help
I have on my poudriere build host a ports tree and wanted to move it to
the host where the resulting packages are installed:

root@jet:/usr/local/poudriere/ports # du -sh ports20230806
397M    ports20230806
root@jet:/usr/local/poudriere/ports # tar cf p.tar ports20230806
root@jet:/usr/local/poudriere/ports # ls -lh p.tar
-rw-r--r--  1 root wheel  672M Oct  3 18:00 p.tar

already the size of the tar file is somewhat magic; but if you un-tar it
on the other host I will get:

[guru@c720-1400094 ~]$ ls -lh p.tar
-rw-r--r--  1 guru wheel  672M  3 oct.  18:00 p.tar
[guru@c720-1400094 ~]$ tar xf p.tar
[guru@c720-1400094 ~]$ du -sh ports20230806
1,2G	ports20230806

How this is possible?

	matthias

-- 
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZRw8x58bxtp26A8e>