From owner-freebsd-questions@FreeBSD.ORG Fri Sep 28 18:35:29 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3AD6B16A420 for ; Fri, 28 Sep 2007 18:35:29 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by mx1.freebsd.org (Postfix) with ESMTP id 1993F13C513 for ; Fri, 28 Sep 2007 18:35:29 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay11.apple.com (relay11.apple.com [17.128.113.48]) by mail-out3.apple.com (Postfix) with ESMTP id F275D1302CFD; Fri, 28 Sep 2007 11:35:28 -0700 (PDT) Received: from relay11.apple.com (unknown [127.0.0.1]) by relay11.apple.com (Symantec Mail Security) with ESMTP id DDC6B28059; Fri, 28 Sep 2007 11:35:28 -0700 (PDT) X-AuditID: 11807130-a1bbebb000004daf-6f-46fd49704087 Received: from [17.214.13.96] (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay11.apple.com (Apple SCV relay) with ESMTP id C59DD2804E; Fri, 28 Sep 2007 11:35:28 -0700 (PDT) In-Reply-To: <64c038660709281127j1df4835bxcbfe4495600fd6d7@mail.gmail.com> References: <64c038660709281127j1df4835bxcbfe4495600fd6d7@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Fri, 28 Sep 2007 11:35:27 -0700 To: Modulok X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== Cc: freebsd-questions@freebsd.org Subject: Re: File size discrepancies X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Sep 2007 18:35:29 -0000 On Sep 28, 2007, at 11:27 AM, Modulok wrote: > I have a file hierarchy of about 18GiB which was copied from a UFS 2 > file system one hard disk to a UFS 2 file system on a gmirror array. > The size of the two hierarchies differ by 12 bytes according to du(1). > No errors were reported by cp(1) during the copy operation. cp may copy through symlinks-- it's not the ideal tool for replicating very large hierarchies if they contain links. tar, rsync, dump/restore might be better choices, and you could use rsync - acv to check for and correct any differences. -- -Chuck