public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@kernel.org>
To: Peter Stahlir <peter.stahlir@googlemail.com>
Cc: Muhammad Tayyab <mail.tayyab@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: Git as a filesystem
Date: Fri, 21 Sep 2007 17:04:49 +0200	[thread overview]
Message-ID: <20070921150449.GE13255@stusta.de> (raw)
In-Reply-To: <fbe8b1780709210437s18b24945jab5a3ffa07646427@mail.gmail.com>

On Fri, Sep 21, 2007 at 01:37:33PM +0200, Peter Stahlir wrote:
> > Peter Stahlir wrote:
> > > Hi!
> > >
> > > Is it possible/feasible to use git as a filesystem?
> > > Like having git on top of ext3.
> > >
> > > This way I could do a gitfs-gc and there is only one
> > > pack file sitting on the disk which is a compressed
> > > version of the whole system.
> > > I am not interested in a version controlled filesystem,
> > > only in the space saving aspects.
> 
> 
> 2007/9/21, Muhammad Tayyab <mail.tayyab@gmail.com>:
> > Hi,
> >    I think it would be a bad idea to use Git as a part of filesystem. If
> > someone wants to install it and use it, its his choice, but if we make
> > it the part of Filesystem, and just use it for compression, this will
> > reduce the performance.
> >    For compression, i think more preferable is to make a patch for ext3
> > that implements the compression, like compression patch for ext2.
> 
> As I understand it the compression patches for ext2 only compress
> a single file. I think gitfs would compress much better because it
> deltifies between all files. So if you are not interested in
> performance but space
> efficiency a gitfs would be nice.

git is kewl, so it must be the solution for all problems?

git keeps information of all versions of a file.
This can by definition not be smaller than only storing the current 
version.

And git doesn't perform any magic, it uses the zlib library that is 
neither unusual nor the best compression method available.

> Peter
>...

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


      parent reply	other threads:[~2007-09-21 15:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-21 10:48 Git as a filesystem Peter Stahlir
2007-09-21 11:28 ` Muhammad Tayyab
2007-09-21 11:37   ` Peter Stahlir
2007-09-21 11:46     ` Peter Stahlir
2007-09-21 12:51       ` Jan Engelhardt
2007-09-21 13:30         ` Peter Stahlir
2007-09-21 13:53           ` Jan Engelhardt
2007-09-21 15:04     ` Adrian Bunk [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070921150449.GE13255@stusta.de \
    --to=bunk@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mail.tayyab@gmail.com \
    --cc=peter.stahlir@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox