System Administration Guide: Basic Administration

Examples—Unpacking Files or Packing Lists From the Cache

The following example shows the file /data/abc/bin/big being unpacked from the cache.


$ cachefspack -u /data/abc/bin/big

The following example shows several files being unpacked from the cache.


$ cd /data/abc/bin/big
$ cachefspack -u big small medium

The following example shows how to unpack a packing list, which is a file that contains the path to a directory of files, as follows:


$ cachefspack -uf list.pkg

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


$ cachefspack -U /local/mycache

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 see output similar to the following:


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