Received: from spf1.us4.outblaze.com (spf1.us4.outblaze.com [205.158.62.23]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id i9QNR8TY014151 for ; Tue, 26 Oct 2004 23:27:09 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf1.us4.outblaze.com (Postfix) with ESMTP id 0604F53B45 for ; Tue, 26 Oct 2004 23:27:07 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CMaqH-0001AT-Ao for migo@homemail.com; Tue, 26 Oct 2004 19:35:05 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CMapn-0001AI-05 for gnu-arch-users@gnu.org; Tue, 26 Oct 2004 19:34:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CMapm-0001A5-Ge for gnu-arch-users@gnu.org; Tue, 26 Oct 2004 19:34:34 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CMapm-0001A2-EI for gnu-arch-users@gnu.org; Tue, 26 Oct 2004 19:34:34 -0400 Received: from [129.255.60.186] (helo=ct.radiology.uiowa.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CMahn-0003V2-K7 for gnu-arch-users@gnu.org; Tue, 26 Oct 2004 19:26:19 -0400 Received: from [192.168.1.11] (12-217-241-0.client.mchsi.com [12.217.241.0]) by ct.radiology.uiowa.edu (8.11.6/8.11.6) with ESMTP id i9QNQH322576; Tue, 26 Oct 2004 18:26:17 -0500 Message-ID: <417EDD13.8080405@johnmeinel.com> Date: Tue, 26 Oct 2004 18:26:11 -0500 From: John Meinel User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Zenaan Harkness Subject: Re: [Gnu-arch-users] Moving hosts: corrupt library (failed inode signature validation) References: <1098832235.4452.196.camel@localhost.localdomain> In-Reply-To: <1098832235.4452.196.camel@localhost.localdomain> X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Cc: arch X-BeenThere: gnu-arch-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: a discussion list for all things arch-ish List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0271777082==" Sender: gnu-arch-users-bounces+migo=homemail.com@gnu.org Errors-To: gnu-arch-users-bounces+migo=homemail.com@gnu.org Status: RO Content-Length: 3505 Lines: 97 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============0271777082== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2E3867E387BF5DA495E155E3" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2E3867E387BF5DA495E155E3 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Zenaan Harkness wrote: > I guess the same thing would apply when moving between filesystems. > > Is there a way to migrate a revlib from one fs/partition/host to > another? > > (My workstation died last Saturday and so I've set up a new box - > grabbed stuff off the old HDD, including the revlib. Of course (now I > think about it) I get the above error.) > > As of now, I've blown away my old revlib and just rebuilding, but for > future reference, I'd like to know if this can be done. I guess it would > be something like a "tla revlib-fsck" :) > > tia > zen > As far as I know, there is *no* way to move a revlib or a pristine tree. The reason is that the only way to know it is pristine is to do a "stat" and compare it to the "stat" of when it was created. If it has been modified, it is immediately assumed to be potentially corrupted. Moving within a filesystem doesn't change stat. But moving between filesystems is a copy. While you can preserve some information, at the very least the inode sig and device id will change, meaning something will change, which could be interpreted as corruption. It might be nice if tla had something like "restore-pristine", or something such that if you were very sure that the tree is pristine you could force it. However, there is already discussion about changing how inode-sigs works. Before 1.2.2 the device was monitored, which caused problems in NFS. jblack's branch had a workaround for this, which I assume will show up in 1.3. But some other things. If you "touch" a file (not in the revlib), it looks newer than the revlib. So tla has to do a diff on it to see if it really is different. But tla doesn't update the revlib to match the latest version of the file. So from then on tla *always* does a diff against that file. (Until a commit type deal where the revlib finally gets updated). Also, the mode of revlibs is (was) not checked properly, so in a hard-linked tree, chmod could corrupt your revlib, but it wouldn't know about it. I don't know the state of this bug, but it's part of what started the big discussion about what permissions should be tracked. John =:-> --------------enig2E3867E387BF5DA495E155E3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Cygwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBft0TJdeBCYSNAAMRAgmkAJ98tZOGLDtod3c6WIYxAL7QCpRftQCfVeqH vmrCRNxXNM1Hfg4QtTX+ll4= =0N70 -----END PGP SIGNATURE----- --------------enig2E3867E387BF5DA495E155E3-- --===============0271777082== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Gnu-arch-users mailing list Gnu-arch-users@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-arch-users GNU arch home page: http://savannah.gnu.org/projects/gnu-arch/ --===============0271777082==--