Re: [gentoo-user] RFC : fast copying of a whole directory tree

2012-02-13 Thread Michael Orlitzky
On 02/13/12 05:49, Helmut Jarausch wrote: > > 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. What makes you think the inodes are sequential on-disk? > But it's correctness for ba

[gentoo-user] RFC : fast copying of a whole directory tree

2012-02-13 Thread Helmut Jarausch
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 o