cachefspack.1m (2010 09)
c
cachefspack(1M) cachefspack(1M)
NAME
cachefspack - pack files and file systems in the cache
SYNOPSIS
/usr/sbin/cachefspack
[ -h ][
-i | -p | -u | -s | -d ][-f packing-list ]
[
-U cache-directory ][file ... ]
DESCRIPTION
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.
Options
cachefspack recognizes the following options:
-d Display pathname of the files to be cached.
-f packing-list
Specify a packing-list 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 in packingrules (4). Directories are packed recursively. Sym-
links that match a regular expression on a LIST command are followed. Symlinks encoun-
tered while recursively processing directories are not followed.
-h Print a brief help summary of all the options.
-i View information about the packed files.
-p Pack the file or files specified by file. This is the default behavior.
-s Strip "./" from the beginning of a pattern name.
-u Unpack the file or files specified by file .
-U cache-directory
Unpack all files in the specified cache-directory, under which the cache is stored.
Operands
cachefspack recognizes the following operands:
file A path name of a file to be packed or unpacked.
RETURN VALUE
cachefspack returns the following values:
0 Successful completion.
>0 An error occurred.
EXAMPLES
Pack the file projects in the cache.
cachefspack -p projects
Pack the files projects, updates and master_plan in the cache.
cachefspack -p projects updates master_plan
Unpack the file projects from the cache.
cachefspack -u projects
Unpack the files projects, updates and master_plan from the cache.
cachefspack -u projects updates master_plan
Unpack all files in the cache1 cache directory.
cachefspack -U /cache/cache1
Use the lists.pkg packing-list to specify files to be packed in the cache. The contents of lists.pkg are as
follows:
IGNORE SCCS BASE /src/junk LIST *.c LIST *.h
HP-UX 11i Version 3: September 2010 − 1 − Hewlett-Packard Company 1