System Administration Guide, Volume 1

How to Pack Files in the Cache

Pack files in the cache using the cachefspack command.


$ cachefspack -p filename

-p

Specifies that you want the file or files packed. This is also the default. 

filename

Specifies the name of the file or directory you want packed in the cache. When you specify a directory, all of its subdirectories are also packed. For more information, see cachefspack(1M).

Examples--Packing Files in the Cache

The following example shows the file projects specified to be packed in the cache.


$ cachefspack -p projects

The following example shows several files specified to be packed in the cache.


$ cachefspack -p projects updates master_plan 

The following example shows a directory specified to be packed in the cache.


$ cachefspack -p /usr/openwin/bin