1 <!-- -*- mode: sgml; mode: fold -*- -->
2 <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [
4 <!ENTITY % katieent SYSTEM "katie.ent">
13 <refentrytitle>rhona</>
17 <!-- Man page title -->
20 <refpurpose>Utility to clean out old packages</>
27 <arg><option><replaceable>options</replaceable></></arg>
31 <RefSect1><Title>Description</>
33 <command>rhona</command> is a utility clean out old packages. It will clean out any binary packages not referenced by a suite and any source packages not referenced by a suite and not referenced by any binary packages. Cleaning is not actual deletion, but rather, removal of packages from the pool to a 'morgue' directory. The 'morgue' directory is split into dated sub-directories to keep things sane in big archives.
37 <RefSect1><Title>Options</>
40 <VarListEntry><term><option>-n/--no-action</option></>
42 <Para>Don't actually clean any packages.</PARA>
46 <VarListEntry><term><option>-h/--help</option></>
48 <Para>Show help and then exit.</PARA>
56 <title>Configuration</title>
57 <para><command>rhona</command> uses katie's configuration file. It follows the typical ISC configuration format as seen in ISC tools like bind 8 and dhcpd. Apart from being able to alter the defaults for command line options, the following configuration items are used:</para>
60 <term>Rhona::StayOfExecution</term>
62 <para>This is the number of seconds unreferenced packages are left before being cleaned.</para>
66 <term>Rhona::MorgueSubDir</term>
68 <para>If not blank, this is the subdirectory in the morgue used to hold removed packages.</para>
74 <RefSect1><Title>Diagnostics</>
76 <command>rhona</command> returns zero on normal operation, non-zero on error.