git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git as a filesystem

From
EWEric Wong <normalperson@yhbt.net>
Date
Sep 21, 2007, 23:33 UTC
Message-ID
<20070921233343.GA8327@muzzle>
In-Reply-To
<alpine.LFD.0.9999.0709210912120.32185@xanadu.home>
Nicolas Pitre <nico@cam.org> wrote:
Show 20 quoted lines
> On Fri, 21 Sep 2007, Peter Stahlir wrote:
> 
> > This is was I was looking for. My motivation is whether it is possible
> > to run a system, for example Debian on a computer on top of gitfs,
> > and then have a huge mirror on it, for example a complete 252GB
> > Debian mirror as space efficient as possible.
> > 
> > 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.

On a similar note, has anybody experimented with using git to store maildirs or news spools? I'd imagine the quoted portions of most message threads could be delta-compressed quite efficiently.

-- 
Eric Wong
Previous: Christian von KietzellNext: Johannes Schindelin
Message 15 of 19 in “Git as a filesystem”
  1. Peter StahlirSep 21, 2007
  2. Johannes SchindelinSep 21, 2007
  3. Peter StahlirSep 21, 2007
  4. Karl HasselströmSep 21, 2007
  5. Peter StahlirSep 21, 2007
  6. Michael PooleSep 21, 2007
  7. jlhSep 21, 2007
  8. Dmitry PotapovSep 21, 2007
  9. Martin LanghoffSep 21, 2007
  10. Sam VilainSep 22, 2007
  11. Nicolas PitreSep 21, 2007
  12. Peter StahlirSep 21, 2007
  13. Nicolas PitreSep 21, 2007
  14. Christian von KietzellSep 21, 2007
  15. Eric WongSep 21, 2007
  16. Johannes SchindelinSep 21, 2007
  17. Eric WongSep 22, 2007
  18. Johannes SchindelinSep 22, 2007
  19. Miklos VajnaSep 21, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.