1 07/24/90  library_cleanup, lcln
 2 
 3 Syntax as a command:  lcln {search_names} {-control_args}
 4 
 5 
 6 Function:  deletes library entries that are no longer needed.
 7 Segments, links, and multisegment files can be deleted in this manner.
 8 
 9 Library entries that have not been modified since the last bootload
10 and that match one or more search name arguments are selected as
11 candidates for possible deletion.  If they have also not been modified
12 within a given grace period, then they are eligible for deletion.
13 
14 By default, library_cleanup only lists the entries eligible for
15 deletion.  The -delete control argument must be given to cause deletion
16 of these entries.
17 
18 This command uses a library descriptor and library search procedures.
19 See "The Library Descriptor Commands" on the Multics Library
20 Maintenance manual (AN80) for more information.
21 
22 
23 Arguments:
24 search_names
25    are entrynames that identify the library entries that are candidates
26    for deletion.  The Multics star convention can be used to identify a
27    group of entries with a single search name.  Up to 30 search names
28    can be given in the command.  If none are given, then any default
29    search names specified in the library descriptor are used.
30 
31 
32 Control arguments:
33 -delete, -dl
34    causes the library entries that are eligible for deletion to be
35    deleted.
36 -descriptor desc_name, -desc desc_name
37    gives a pathname or reference name that identifies the library
38    descriptor describing the libraries to be searched.  If no
39    -descriptor control argument is given, then the default library
40    descriptor is used.
41 
42 
43 -library library_name, -lb library_name
44    identifies a library that is to be searched for entries to be
45    deleted.  The Multics star convention can be used to identify a
46    group of libraries with a single library name.  Up to 30 -library
47    control arguments can be given in each command.  If none are given,
48    then any default library names specified in the library descriptor
49    are used.
50 -list, -ls
51    causes the library entries that are eligible for deletion to be
52    printed on the user's terminal.  This is the default if -delete,
53    -list, or -long is not given.
54 
55 
56 -long, -lg
57    causes all library entries that match the search names to be printed
58    on the user's terminal, even if they are not eligible for deletion
59    according to their date/time entry modified.  Entries that are
60    eligible for deletion are flagged with an asterisk (*).
61 -search_name search_name
62    identifies a search name that begins with a minus (-) to distinguish
63    the search name from a control argument.  There are no other
64    differences between the search names described above and those given
65    with the -search_name control argument.  One or more -search_name
66    control arguments can be given in the command.
67 -time days, -tm days
68    gives a minimum grace period in days.  The actual grace period is
69    determined by the greater of the time since the last bootload and
70    the specified value.  Matching library entries whose date/time
71    entry modified falls within this grace period are not eligible for
72    deletion.  The default grace period is seven days.
73 
74 
75 Notes:  If -delete and -list are used together, then the library
76 entries being deleted are printed on the user's terminal.
77 
78 If an entry that is eligible for deletion resides in an inner ring,
79 library_cleanup must call the restricted installation_tools_ gate to
80 change its ring brackets prior to deleting it.  If the user does not
81 have access to this gate, then the entry is not deleted, and a linkage
82 error occurs.