From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B03E313834B for ; Mon, 7 Jan 2013 21:09:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B79A721C034; Mon, 7 Jan 2013 21:09:23 +0000 (UTC) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AD8C4E05F2 for ; Mon, 7 Jan 2013 21:08:03 +0000 (UTC) Received: by mail-vc0-f172.google.com with SMTP id fw7so20038253vcb.17 for ; Mon, 07 Jan 2013 13:08:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=XhTWoKi3NwbFW3PaZESScBs1sGQr2/GcKjlmIWHbVto=; b=wi6k3I9/wkyOuPwXegIUCmrMkxQbLAE13euYuwA3dnBmj6A91fyML1fq7rIOcizcny DEPEhisb4SUfY9GAZnS3VD91XanRtBgLpcRs0PRbg57vkLeEWj+rnUFUgD6uhvkg5TeL 6kcZw5Q9hszBvZo96vwpHP6mhojeIo8aoi3ol6WM65jPMJ+vgQOkSXImeGmnAJsPObie 36zZivwVEL/YQZrTx5wOTbu4vOb3g43t59DPPeZ/jianZ4k+Psiitn+e0naxcPIGnLUa 7nUf2OW42cCc5DDKwZ8Viw0nsGIZ9WLbhdsYW3EGaY8YfP9Vu4vkOBbgqTsOEAlx45GS Mn2A== Received: by 10.58.34.4 with SMTP id v4mr73237645vei.57.1357592882858; Mon, 07 Jan 2013 13:08:02 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Sender: paul.hartman@gmail.com Received: by 10.58.217.195 with HTTP; Mon, 7 Jan 2013 13:07:42 -0800 (PST) In-Reply-To: <50EB2BF7.4040109@binarywings.net> References: <50EB2BF7.4040109@binarywings.net> From: Paul Hartman Date: Mon, 7 Jan 2013 15:07:42 -0600 X-Google-Sender-Auth: 9yj8O8iITHptXo9qKjBES3AmHBo Message-ID: Subject: Re: [gentoo-user] OT: Fighting bit rot To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: 70e8ebc1-7408-46d4-9e82-2795f8700902 X-Archives-Hash: 33a8635a67e32319702529c7c626434f On Mon, Jan 7, 2013 at 2:11 PM, Florian Philipp wrote: > Hi list! > > I have a use case where I am seriously concerned about bit rot [1] and I > thought it might be a good idea to start looking for it in my own > private stuff, too. > > Solving the problem is easy enough: > - Record checksums and timestamps for each file > - Check and update records via cronjob > - If checksum changed but timestamp didn't, notify user > - Let user restore from backup > > However, I haven't found any application in portage for this task. Now, > the implementation is easy enough but I'm wondering why it hasn't been > done. Or do I just look for the wrong thing? The only suitable thing > seems to be app-admin/tripwire but that application also looks like > overkill. Not really what you are asking for, but I think btrfs and zfs have checksumming built-in to the filesystem. I'm not sure what userspace tools are like to monitor this, or if it's just an fsck away.