The cachefspack utility is used to set up and maintain files in the cache. This utility affords greater control over the cache, ensuring that the specified files will be in the cache whenever possible.
The following options are supported:
Specify a file containing a list of files and directories to be packed. Options within subdirectories and files can also be specified. The format and rules governing packing-list are described on the packingrules(4) manual page. Directories are packed recursively. Symlinks that match a regular expression on a LIST command are followed. Symlinks encountered while recursively processing directories are not followed.
Help. Print a brief summary of all the options.
View information about the packed files.
Pack the file or files specified by file. This is the default behavior.
Unpack the file or files specified by file.
Unpack all files in the specified cache directory.
See largefile(5) for the description of the behavior of cachefspack when encountering files greater than or equal to 2 Gbyte ( 231 bytes).
% cachefspack -p projects
% cachefspack -p projects updates master_plan
% cachefspack -u projects
% cachefspack -u projects updates master_plan
% cachefspack -U /cache/cache1
IGNORE SCCS BASE /src/junk LIST *.c LIST *.h
This example will pack all files in the directory /src/junk with .c and .h extensions that do not contained the string SCCS in the file's path name.
% cachefspack -f lists.pkg
See attributes(5) for descriptions of the following attributes:
|ATTRIBUTE TYPE||ATTRIBUTE VALUE|