Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ckdir(UCB) — UNIX 2.8BSD

Media Vault

Software Library

Restoration Projects

Artifacts Sought

CKDIR(UCB)  —  UNIX Programmer’s Manual

NAME

ckdir − checksum the files in a directory to guard against/check for corruption

SYNOPSIS

ckdir [ −c ] name ... 

DESCRIPTION

Ckdir helps guard against files becoming corrupted.  If invoked with the −c flag it computes a file check.sum for each specified directory (‘.’ default) which contains for each plain file in the directory a (simple-minded) checksum on its contents.  Ckdir can then be run (without the −c option) to check that the files haven’t changed. 

FILES

check.sumchecksum data

BUGS

The checksum files might better be called ‘.checksum’ but then it wouldn’t be as obvious when they are missing. 

Needs a −r flag for running a checksum on the whole filesystem from cron. 

Should have an option to give only files which have been “impossibly” modified;  that is files where the times from stat and the change to the check.sum data cannot be reconciled. 

Doesn’t comprehend special files. 

7th Edition  —  2/24/79

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026