lcksum man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

lcksum(1)			 User Commands			     lcksum(1)

NAME
       lcksum - verifies a transcript's checksums and file sizes

SYNOPSIS
       lcksum  [-%AiIqV]  [  -D path  ] [ -n [ -a ]] [ -P prefix ] -c checksum
       transcript ...

DESCRIPTION
       lcksum verifies and updates the checksums and file sizes of  the	 tran‐
       script  transcript  line-by-line. If more than one transcript is passed
       to lcksum, all transcripts will be verified and updated.	  lcksum  com‐
       pares  the  checksum  and file size listed in transcript to that of the
       file in the file system.	 Files must be located in file directory asso‐
       ciated  with  transcript.   With the -n option lcksum verifies but does
       not modify transcript.

       If there is a difference in either the checksum or file size, the tran‐
       script  line  is updated using the checksum, file size and modification
       time of the actual file.

       In update mode, lcksum may modify the file sizes	 and/or	 checksums  in
       transcript,  so	the  user must have write access to transcript.	 If an
       error occurs during an update of transcript, lcksum removes the	tempo‐
       rary copy of transcript that it created and exits with a status of 2.

       lcksum also verifies that transcript is sorted in depth first order.

       With the -P option, lcksum will only verify transcript lines with paths
       starting with prefix.

OPTIONS
       -%		  progress output.

       -a		  continue checking on error.  Requires -n option.

       -A		  verify AppleSingle headers.

       -c checksum	  enables checksuming.

       -D path		  specifies the radmind working directory, by  default
			  /var/radmind

       -i		  force line buffering.

       -I		  be case insensitive when compairing paths.

       -n		  verify but do not modify transcript.

       -P prefix	  only verify transcript lines that begin with prefix.

       -q		  suppress all messages.

       -V		  displays  the	 version of lcksum and a list  of sup‐
			  ported checksumming algorithms in  descending	 order
			  of preference and then exits.

EXIT STATUS
       The following exit values are returned:

       0    Transcript was verified.

       1    Differences were found.

       >1   An error occurred.

SEE ALSO
       fsdiff(1),  ktcheck(1),	lapply(1),  lcreate(1),	 lfdiff(1), lmerge(1),
       lsort(1), twhich(1), radmind(8).

RSUG			       December 12, 2010		     lcksum(1)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net