Re: Git as a filesystem
From: Christian von Kietzell <hidden>
Date: 2016-06-15 22:43:36
Am Freitag, den 21.09.2007, 15:35 +0200 schrieb Peter Stahlir:
quoted
quoted
I wonder how big a deltified Debian mirror in one pack file would be. :)It would be just as big as the non gitified storage on disk. The space saving with git comes from efficient delta storage of _versioned_ files, i.e. multiple nearly identical versions of the same file where the stored delta is only the small difference between the first full version and subsequent versions. Unless you plan on storing many different Debian versions together, you won't benefit from any delta at all. And since Debian packages are already compressed, git won't be able to compress them further. So don't waste your time.The 252GB stem from the fact that there are more than 10 architectures. I guess the /usr/share/doc of all architectures could be deltified (as could be all files that are architecture-independent) Right?
I don't think so. Architecture-independent files are usually separated out into separate packages (think of the -doc and -data packages) that get architecture "all" and land in the Debian archive only once. So you probably won't save too much there. Chris