List the custody records under root, and with drain retire every seat whose child is gone
(#1391).
A seat whose child still holds its recorded start identity is reported and left alone: it is a
running agent, and a manager may still adopt it. Only a seat whose child is proved gone reaches
reapSeat. A record is written once, and a start identity that is gone never comes back, so
the reap that follows finds the child gone too and signals at most a custodian whose identity
matches the record. A record from an earlier boot names processes that ended with that boot, so it
is childless and its reap signals nothing. A record that cannot be read or whose identity proves
nothing, or a reap that does not prove exit, is refused and left on disk for the operator.
List the custody records under
root, and withdrainretire every seat whose child is gone (#1391).A seat whose child still holds its recorded start identity is reported and left alone: it is a running agent, and a manager may still adopt it. Only a seat whose child is proved gone reaches reapSeat. A record is written once, and a start identity that is gone never comes back, so the reap that follows finds the child gone too and signals at most a custodian whose identity matches the record. A record from an earlier boot names processes that ended with that boot, so it is childless and its reap signals nothing. A record that cannot be read or whose identity proves nothing, or a reap that does not prove exit, is refused and left on disk for the operator.