System Administration Guide: Devices and File Systems

ProcedureHow to Pack Files in the Cache

  1. Pack files in the cache.


    $ cachefspack -p filename
    
    -p

    Specifies that you want the file or files to be packed. This option 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).


Example 20–8 Examples—Packing Files in the Cache

The following example shows the projects file being packed in the cache.


$ cachefspack -p projects

The following example shows three files being packed in the cache.


$ cachefspack -p projects updates master_plan

The following example shows a directory being packed in the cache.


$ cachefspack -p /data/abc/bin