1 02/11/85  delete_dir, dd
 2 
 3 Syntax as a command:  dd {paths} {-control_args}
 4 
 5 
 6 Function: deletes the specified directories and any segments, links,
 7 multisegment files, data management files, and extended entries they
 8 contain.  All inferior directories and their contents are also deleted.
 9 Use the delete command to delete segments and the unlink command to
10 delete link entries.
11 
12 
13 Arguments:
14 paths
15    are pathnames of directories.  The star convention is allowed.
16 
17 
18 Control arguments:
19 -absolute_pathname, -absp
20    prints the entire pathname of the entries listed by -long,
21    -query_all, and -query_each.
22 -brief, -bf
23    inhibits the printing of an error message if the directory to be
24    deleted is not found.
25 -entryname, -etnm
26    prints only the entrynames of the entries listed by -long,
27    -query_all, and -query_each.  (Default)
28 -force, -fc
29    deletes the specified directories without issuing a query.
30 -long, -lg
31    prints a message of the form "Deleted directory <path>" for each
32    directory deleted.
33 
34 
35 -name STR, -nm STR
36    specifies a nonstandard entryname STR (e.g., invalid starname such
37    as **.**.compout or name that contains <.)
38 -query_all, -qya
39    lists all directories to be deleted, and issues one query for all of
40    them.
41 -query_each, -qye
42    issues a query for each directory being deleted.  (Default)
43 
44 
45 Access required: You must have modify permission on both the directory
46 and its superior directory.
47 
48 
49 Notes: At least one path or -name must be given.
50 
51 If -force is not supplied, delete_dir asks you whether to delete the
52 specified directory; it is then deleted only if you type "yes."  When
53 deleting a nonempty master directory, or a directory containing
54 inferior nonempty master directories, you must have previously mounted
55 the logical volume(s).  If a nonempty master directory for an unmounted
56 volume is encountered, no subtrees of that master directory are
57 deleted, even if they are mounted.
58 
59 When you are deleting a directory containing data management files, you
60 can't delete those files if a transaction is still pending.