1 02/28/84  clear_partition
 2 
 3 Syntax:  clear_partition pvname partname {-control_args}
 4 
 5 
 6 Function: overwrites the contents of a disk partition with zeros or an
 7 optional user-supplied pattern word.
 8 
 9 
10 Arguments:
11 pvname
12    is the name of the physical volume on which the partition to be
13    cleared exists.
14 partname
15    is the name of the partition to be cleared.  It must have four
16    characters or less.
17 
18 
19 Control arguments:
20 -brief, -bf
21    produces brief format messages.
22 -long, -lg
23    produces long messages.  (Default)
24 -pattern word
25    overwrites the partition with data consisting of the specified octal
26    pattern word. The specified word is written into every location in
27    the partition.  If -pattern is not specified, a default of all zeros
28    is used.
29 
30 
31 Access required: Access to the phcs_ and hphcs_ gates is required.
32 
33 
34 Notes: You are always queried whether the partition should be
35 overwritten; by default (if -brief was not specified) the contents of
36 the first eight words in the partition are displayed (in octal and as
37 ASCII characters) as part of this question, to aid in preventing
38 accidental overwriting of the wrong partition.