Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-user
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-user@g.o
From: Helmut Jarausch <jarausch@...>
Subject: RFC : fast copying of a whole directory tree
Date: Mon, 13 Feb 2012 11:49:27 +0100
Hi,

when copying a whole directory tree with standard tools, e.g.
tar cf - . | ( cd $DEST && tar xf - )
or  cpio -p ...

the source disk is busy seeking. That's noisy and particularly slow.

I've written a small Python program which outputs the file names in
i-node order. If this is fed into tar or cpio nearly no seeks are 
required during copying.

I've tested it by comparing the resulting copied tree to one created by 
tar | tar.

But it's correctness for backing up data is critical.
Therefore I'd like to ask for comments.

Thanks for any comments,
Helmut.
Attachment:
TreeWalk_I_Sorted.py (Text Data)
Replies:
Re: RFC : fast copying of a whole directory tree
-- Michael Orlitzky
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Setting up VPN tunnel using racoon on a Roadwarrior
Next by thread:
Re: RFC : fast copying of a whole directory tree
Previous by date:
Re: HTPC and Gentoo
Next by date:
Re: RFC : fast copying of a whole directory tree


Updated May 04, 2012

Summary: Archive of the gentoo-user mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.