1 04/05/84  deactivate_seg
 2 
 3 Syntax:  deactivate_seg path {-control_arg}
 4 
 5 
 6 Function:  allows you to deactivate a segment or directory.
 7 
 8 
 9 Arguments:
10 path
11    is the pathname of the segment or directory to be deactivated or a
12    segment number.
13 
14 
15 Control arguments:
16 -force, -fc
17    deactivates the segment or directory, if possible, by using the
18    highly privileged demand_deactivate entry.
19 
20 
21 Access required:  This command requires access to the phcs_ gate; if
22 -force is used, it requires access to the hphcs_ gate.
23 
24 
25 Notes:  If -force is not supplied, the segment or directory is only
26 deactivated if all processes connected to it have the allow_deactivate
27 attribute set (see the change_kst_attributes command).  If -force is
28 specified, the segment is deactivated unless its entry hold switch is
29 set and the directory is deactivated unless it has active inferiors.