Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ find_orphans — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought

6.0; find_orphans, revision 6.0, 83/04/29
usage:  FIND_ORPHANS [ -V | -VERIFY ] [ volume_pathname ]

usage:  FIND_ORPHANS [ (-V | -VERIFY) ] [ volume_pathname ]

FIND_ORPHANS finds all uncatalogued permanent objects in a local volume.
It uses or creates a directory ORPHANS in the root of the volume and enters
the names of all objects not catalogued elsewhere. Uncatalogued directories
are found first, so no redundancy occurs.

The user of this command must have read permission to all directories on the
volume. If some directory is not readable, every object under that directory
will be catalogued in the ORPHANS directory. In addition, the user must either
have permission to create the ORPHANS directory or to catalog objects in
ORPHANS when it already exists.

The objects catalogued by FIND_ORPHANS are given sequential names like F1, F2,
etc., and can be moved using MVF to a directory of the user's choice.

This command is useful to find objects that are lost by a broken directory.



The options are:

    -V              verify only; don't catalog any orphans
    -VERIFY



Example:

$ find_orphans
11EE936C.50000105  ->  f1
1216E28E.40000105  ->  f2
12A2BC34.40000105  ->  f3
12B782DC.40000105  ->  f4
12B78321.50000105  ->  f5
12B78353.60000105  ->  f6
12B783EF.00000105  ->  f7
12B784E3.90000105  ->  f8
12B7863C.30000105  ->  f9
12C18DBE.40000105  ->  f10
12F98201.40000105  ->  f11
13452895.80000105  ->  f12
140090B4.40000105  ->  f13
140090F4.E0000105  ->  f14
15322D3A.70000105  ->  f15
17872C66.50000105  ->  f16
Number of orphans: 16
$ ld /orphans -a

Directory "/orphans":

sys   type  blocks  current
type  uid     used   length  attr rights     name

file  rec        2     1462  P    p-ndwrx    f1
file  nil        0        0  P    p-ndwrx    f10
file  obj        1    58590  P    p-ndwrx    f11
file  nil        4     4096  P    p-ndwrx    f12
file  nil        4     4096  P    p-ndwrx    f13
file  nil        4     4096  P    p-ndwrx    f14
file  uasc       0      245  P    p-ndwrx    f15
file  mbx       17   280172  P    p-ndwrx    f16
file  nil        0        0  P    p-ndwrx    f2
file  nil        0        0  P    p-ndwrx    f3
file  obj       66    65862  P    p-ndwrx    f4
file  obj      134   135724  P    p-ndwrx    f5
file  rec        9     8412  P    p-ndwrx    f6
file  obj      115   116188  P    p-ndwrx    f7
file  mbx       15   278636  P    p-ndwrx    f8
file  nil        0        0  P    p-ndwrx    f9

16 entries, 371 blocks used.

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