Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

6.0;find_orphans, revision 6.0, 83/04/29
FIND_ORPHANS -- Locate and catalog uncataloged objects.
usage:  FIND_ORPHANS [ -V | -VERIFY ] [ volume_pathname ]


FORMAT

  FIND_ORPHANS [options] [volume_pathname]


  FIND_ORPHANS  finds  all  uncataloged 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  cataloged elsewhere. Uncataloged 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 cataloged 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 cataloged 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  for  finding  objects  that  are  lost  by a broken
  directory.  It should be run only on a quiescent node: i.e., one not connected
  to the network (use NETSVC -N  to  disable  network  communications)  and  not
  actively  running any processes other than the one performing the FIND_ORPHANS
  operation.


ARGUMENTS

  volume_pathname
  (optional)         Specify the name of the volume to be searched.  The  volume
                     must  be physically attached to your node; you may not find
                     orphan objects on volumes elsewhere in the network.

                     Default if omitted:  search node boot volume


OPTIONS

  -V[ERIFY]          Verify only; don't catalog any orphans


EXAMPLES

    $ 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