Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ hardlink(8) — UTek W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cron(8)

hardlink(5)

link(2)



HARDLINK(8)             COMMAND REFERENCE             HARDLINK(8)



NAME
     hardlink - check and create hard links to files

SYNOPSIS
     hardlink [ -c char ][ -f ][ -h ][ -n ][ -r root ][ -v ]
     specification_file ...

DESCRIPTION
     Hardlink makes sure files are properly hard linked together
     by comparing the files in the filesystem against the lines
     of a specification file.  Each line of the specification
     file is a description of which files should be hard linked
     together.  See bom(5) and hardlink(5) for details of the
     file format.

     Hardlink prints error messages when it is unable to link
     files together.

     Hardlink assumes files with non-zero size are more important
     than those that are zero length.  If hardlink determines two
     files are the same (by doing a binary file compare) and the
     two files were not originally linked together, hardlink
     removes one and links them together.

OPTIONS
     -c char
         Change the comment character in the specification file
         to char (default is % ).

     -f  Forcibly make links to the first file in the
         specification line.  It automatically removes any
         existing files other than the first listed.

     -h  Help. Print a message describing the use of hardlink.
         No other action is taken no matter what other options
         are specified.

     -n  Print a shell script to the standard output describing
         what hardlink would do, but don't do it.  Standard
         output can be piped or given to /bin/sh.

     -r root
         Append root to each file name being checked.  (Default
         is null).

     -v  Verbose. Print all errors encountered.  In addition,
         print all comment lines from the beginning of the
         specification file to the first non-comment line.

DIAGNOSTICS
     Each error message has a number enclosed in square brackets
     that indicate the line number of the input record causing



Printed 10/17/86                                                1





HARDLINK(8)             COMMAND REFERENCE             HARDLINK(8)



     the error or message.

RETURN VALUE
     [0]            No errors occurred.

     [1]            Errors occurred.

     [USAGE]        Incorrect command line syntax. Execution
                    terminated.

     [NP_ERR]       An error occurred that was not a system
                    error.  Execution terminated.

     [P_ERR]        A system error occurred. Execution
                    terminated.  See intro(2) for more
                    information on system errors.

CAVEATS
     Hardlink is unable to fix hard link counts, RCS ids, and
     checksums.  Nor can it create devices.

SEE ALSO
     cron(8), hardlink(5), link(2).
































Printed 10/17/86                                                2





































































%%index%%
na:72,83;
sy:155,317;
de:472,1065;
op:1537,1139;
di:2676,206;3026,28;
rv:3054,536;
ca:3590,205;
se:3795,154;
%%index%%000000000142

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