Solstice AutoClient 2.1 Administration Guide

Unpacking Files

You may need to unpack a file from the cache. For example, if you have other files or directories that are a higher priority than others, you can unpack the less critical files.

How to Unpack Files in the Cache

Unpack individual files in the cache using the -u option of the cachefspack command.


$ cachefspack -u filename

In this command,

-u

Specifies that you want the file or files unpacked. 

filename

Is the name of the file or files you want unpacked in the cache. For more information about the cachefspack command, see the man page.

Unpack all the files in a cache directory using the -U option of the cachefspack command.


$ cachefspack -U cache_directory

In this command,

-U

Specifies that you want to unpack all packed files in the specified cached directory. 

cache_directory

Is the name of the cache directory that you want unpacked from the cache. For more information about the cachefspack command, see the man page.

Examples

The following example shows the file /usr/openwin/bin/xlogo specified to be unpacked from the cache.


$ cachefspack -u /usr/openwin/bin/xlogo

The following example shows several files specified to be unpacked from the cache.


$ cachefspack -u /usr/openwin/bin/xview /usr/openwin/bin/xcolor

The following example uses the -U option to specify all files in a cache directory to be unpacked.


$ cachefspack -U /usr/openwin/bin

You cannot unpack a cache that does not have at least one file system mounted. With the -U option, if you specify a cache that does not contain mounted file systems, you will see output similar to the following:


$ cachefspack -U /local/mycache
cachefspack: Could not unpack cache /local/mycache, no mounted
filesystems in the cache.