builddisk.help
1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#
# This is version 3 of the .bld script specification.
# This specifies input to the 'builddisk' perl sript.
#
# Old .bld files (for 'buildroot') no longer work properly.
#
# General format:
#
# <target file_or_dir> <action_specifier> <local file_or_dir>
#
# means to create the target file in the new disk whose initial contents are
# copied local_file. If the local_file is omitted it defaults to the same filename as
# the target_file.
#
# The action specifiers are
# n read as: normal create target_file from local_file
# l read as: link create symbolic link, value = local_file
# e read as: empty create target_dir from local_dir, but empty
# a read as: all create target_dir from local_dir, populated
# r read as: recursive like 'a' but recursively 'a' all subdirs
# x read as: exclude don't emit this file or directory
#
# Notes on the 'x' action:
# - If in the middle of a recursive expansion, excludes the entire subtree rooted
# at the named file.
# - Exclude based on the target name, not the local filename.
#
# Any action specified in the input file overrides the default behavior
# for that file. For example, if a directory is specified as empty
/ e
# you can still include files in it
/vmunix n /usr/local/boot/ud.jc2
/usr e
# whereas a recursive spec
/usr/lib r
# can be overridden with excludes or normals to terminate the recursion early:
/usr/lib/font x
/usr/lib/X11 n
#
# To create a directory, you have to also create
# all the path elements leading up to that directory. However, note that
# order of input lines is unimportant.
#
/oldusr e
/oldusr/users e
/oldusr/users/jchapin n /usr/people/jchapin