Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 May 2002 22:32:08 -0400 (EDT)
From:      Peter Leftwich <Hostmaster@Video2Video.Com>
To:        Matthias Buelow <mkb@mukappabeta.de>
Cc:        Dan Nelson <dnelson@allantgroup.com>, FreeBSD LIST <FreeBSD-Questions@FreeBSD.Org>
Subject:   Re: mv vs. tar [overlapping]
Message-ID:  <20020529223005.O79882-100000@earl-grey.cloud9.net>
In-Reply-To: <20020530022609.GA956@altair.mukappabeta.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 30 May 2002, Matthias Buelow wrote:
> Dan Nelson writes:
> > A tar pipe will be much faster, since reading and writing will be overlapped.
> > ( cd /source ; tar cf - . ) | ( cd destination ; tar xfp - )
> eh?  sorry but I think that's nonsense. --mkb

Actually, it's an interesting point... I think what Dan means is that read
and write processes run concurrently (have you ever run multiple HTTP
requests at once? it's a lot like that I suppose).  So it would seem
tarring is quickest when moving a directory within the same filesystem!

--
Peter Leftwich
President & Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
+1-413-403-9555


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020529223005.O79882-100000>