[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#761117: debsources: file-level deduplication



On Thu, Sep 11, 2014 at 02:09:35PM +0800, Paul Wise wrote:
> A hash based filesystem layout like we use on snapshot.d.o.
> 
> Use a filesystem with deduplication support like btrfs.

I thought about btrfs back in the days, and ruled out the idea because
it imposes a fairly important deployment requirement.

Regarding a hash-based filesystem layout, that will get in the way of
dpkg-source -x, meaning you will need to "massage" the files into the
has layout after package extraction. Plus, you lose the ability to use
the natural file organization as the url structure that you present to
the user.

All in all, offline deduplication seems much more appealing and, up to
now, it seems to have no drawbacks whatsoever (except a negligible lag
between the extraction time and the deduplication run).

Cheers.
-- 
Stefano Zacchiroli  . . . . . . .  zack@upsilon.cc . . . . o . . . o . o
Maître de conférences . . . . . http://upsilon.cc/zack . . . o . . . o o
Former Debian Project Leader  . . @zack on identi.ca . . o o o . . . o .
« the first rule of tautology club is the first rule of tautology club »

Attachment: signature.asc
Description: Digital signature


Reply to: