NFS Services Administrator's Guide (B.11.31.04) March 2009

NOTE: When you pack a directory, all files in that directory, subdirectories, and
files in the subdirectories are packed. For instance, consider a directory /dir1
that contains two subdirectories /subdir1, and /subdir2, as well as two files
test1, and test2. When you pack /dir1, /subdir1, /subdir2, test1, and
test2 are packed.
Using the packing-list file
A packing-list file is an ASCII file that contains a list of files and directories
that are to be pre-packed in the cache. Creating a packing-list file saves time,
because you need not individually pack each file. It also enables you to access the
BASE, LIST, and IGNORE options that are not available from the command-line
interface. The packing-list file can be updated or removed when required.
To pack files in the cache using the packing-list file, follow these steps:
1. Create the packing-list file, if it does not exist. The file can be created
using a text editor.
NOTE: For information on the format and rules governing the creation of a
packing-list file, see packingrules(4).
2. Add an entry to the file. A sample of the packing-list file consists of the
following entries:
BASE /net/server/share/home/casey
LIST work
LIST m/sentitems
IGNORE core *.o *.bak
where:
BASE Specifies the path to the directory that contains the files to pack.
LIST Specifies the files to pack within the directory.
IGNORE Specifies the files or file types or both that you do not want to pack
in the cache.
3. To pack the files specified in the packing-list file enter the following
command:
cachefspack -f packing-list
where:
packing-list Specifies the name of the packing-list file.
The files specified in the packing list are now packed in the cache.
Configuring and Administering CacheFS 117