1 09/10/86  delete_old_pdds
 2 
 3 Syntax as a command:  delete_old_pdds {-control_args}
 4 
 5 
 6 Function: deletes old copies of >process_dir_dir and system_library_1
 7 created during bootload.
 8 
 9 
10 Control arguments:
11 -exclude_first N
12    does not delete the first N old copies of >process_dir_dir and
13    >system_library_1 (that is, the N oldest ones).
14 -exclude_last N
15    does not delete the last N old copies of >process_dir_dir and
16    >system_library_1 (that is, the N most recent ones).
17 
18 
19 Access required: You need access to the hphcs_ gate.
20 
21 
22 Notes: This command is intended for use mainly in the start_up.ec of
23 Utility.SysDaemon.  If the system is unable to boot for lack of quota,
24 boot to standard and run from the initializer process in admin mode.
25 
26 The old copies of >process_dir_dir are named pdd.[unique], and branch
27 directly off the root.  The old copies of >system_library_1 are named
28 sl1.[unique], and also branch directly off the root.
29 
30 The control arguments are useful when you need to have the process
31 directory contents of processes at the time of a crash, to debug system
32 problems.
33 
34 If the process running delete_old_pdds has access to the soos
35 privilege, it is enabled to allow salvaging of soos directories.  Run
36 this command in a process with access to the soos privilege.