builddisk.help 1.63 KB
#
# 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