Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lntree(VI) — UNIX 1BSD

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mkdir (I)

chown (II)

quot(I)

cptree (VI)

rmtree (VI)

lnall (VI)

LNTREE(VI)  −  PWB/UNIX 8/5/77

NAME

lntree − make a duplicate tree using links

SYNOPSIS

lntree [ − ] [ −q ] source dest

DESCRIPTION

The tree rooted at source is duplicated, using mkdir (I) and link (II) in a copy rooted at the directory dest, which must already exits.  Both source and dest must be on the same file system.  Cptree (I) can be used if they are not, but the effects of lntree and cptree are quite different.  It is an extremely fatal error for dest to be a subdirectory of source.  Lntree makes a prepass at the source subtree to insure that this is not the case.  If special files are present in the source, lntree requires confirmation that the links are really to be made.  The − option suppresses the request for confirmation; lntree then links to special file without complaint.  For the super-user, lntree will also make new quota files corresponding to any old ones it finds, and change the ownership of all the directories and quota files it makes to the owner of the corresponding files in the source tree.  The −q option suppresses creation of new quota files. 

SEE ALSO

mkdir (I), chown (II), quot(I), cptree (VI), rmtree (VI), lnall (VI)

AUTHOR

William Joy

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