Re: Git as a filesystem
- From
- Christian von Kietzell <cuboci@gmail.com>
- Date
- Sep 21, 2007, 15:46 UTC
- Message-ID
- <1190389616.16219.1.camel@caladan.dune>
- In-Reply-To
- <fbe8b1780709210635l5803456aof3757418dc9653e7@mail.gmail.com>
Am Freitag, den 21.09.2007, 15:35 +0200 schrieb Peter Stahlir:
Show 19 quoted lines
> > > 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