cksum entire dir??

Paul Kraus paul at kraus-haus.org
Wed Sep 12 02:19:27 UTC 2012


On Tue, Sep 11, 2012 at 10:03 PM, Gary Kline <kline at thought.org> wrote:

>         I'm not concerned about a file having been changed, just whether
>
>            % cp -rp /home/klinebak/foodir   /home/kline/
>
>         is 100% reliable.  down to the bit!

If "cp" is not reliable (down to the bit), then you have much bigger problems.

    On the other hand, hard drives do have uncorrectable errors and
they report the read operation as valid even though they returned bad
data. That is part of why ZFS was created and ported to FreeBSD, it
checksums the data so a bad bit coming from a drive does not corrupt a
file.

-- 
{--------1---------2---------3---------4---------5---------6---------7---------}
Paul Kraus
-> Principal Consultant, Business Information Technology Systems
-> Deputy Technical Director, LoneStarCon 3 (http://lonestarcon3.org/)
-> Sound Coordinator, Schenectady Light Opera Company (
http://www.sloctheater.org/ )
-> Technical Advisor, Troy Civic Theatre Company
-> Technical Advisor, RPI Players


More information about the freebsd-questions mailing list