FIND_ORPHANS(8) Domain/OS BSD FIND_ORPHANS(8)
NAME
find_orphans - locate and catalog uncataloged objects
SYNOPSIS
/etc/find_orphans [options] [volume_pathname]
DESCRIPTION
find_orphans takes any orphan files discovered by salvol and catalogs
them in the lost_found directory of the volume root. These orphans were
recorded by salvol in the lost+found.list file. This file itself was
created by invol when the volume was initialized. You must have
permission to catalog objects in the lost+found directory.
The objects cataloged by find_orphans are given sequential names like f1,
f2, etc., and you can move them using /com/mvf or /bin/mv to a directory
of your choice. find_orphans is useful for finding objects that were
being updated during a system crash or that were uncataloged through
program errors.
Note that the sr10.4 version of find_orphans no longer supports the
-s[earch] option.
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
-l[ist] (default)
List mode, catalog objects listed in /lost+found.list.
-v[erify] Verify only; don't catalog any orphans.
EXAMPLES
$ /etc/find_orphans
Cataloging in: /lost+found
39D40FF0.100086CA -> f1
39D40F9D.E00086CA -> f2
39D41026.600086CA -> f3
39D40DA6.D00086CA -> f4
39D40998.200086CA -> f5
39D41042.800086CA -> f6
39D40CB8.E00086CA -> f7
39D41001.300086CA -> f8
39D40F7E.D00086CA -> f9
39D40CCE.F00086CA -> f10
39D40D8B.C00086CA -> f11
39D40E33.100086CA -> f12
39D40A06.700086CA -> f13
39D40F23.900086CA -> f14
39D40E16.000086CA -> f15
39D40F36.A00086CA -> f16
39D41C0A.200086CA -> f17
Number of orphans catalogued: 17
$ ld -a /lost+found
Directory "/lost+found":
sys type blocks current
type uid used length attr rights name
file uasc 1 32 P prwx- f1
file unstruct 0 0 P prwx- f10
file uasc 1 32 P prwx- f11
file unstruct 0 0 P prwx- f12
file unstruct 1 54 P prwx- f13
file uasc 1 32 P prwx- f14
file uasc 1 32 P prwx- f15
file unstruct 0 0 P prwx- f16
file unstruct 0 0 P prwx- f17
file unstruct 0 0 P prwx- f2
file uasc 1 32 P prwx- f3
file unstruct 0 0 P prwx- f4
file coff 1 101376 P prwx- f5
file unstruct 0 0 P prwx- f6
file uasc 1 32 P prwx- f7
file unstruct 0 0 P prwx- f8
file uasc 1 32 P prwx- f9
17 entries, 9 blocks used.