To display packed files information, use cachefspack -i command.
$ cachefspack -i[v] cached-filename-or-directory |
-i |
Specifies you want to view information about your packed files. |
-v |
The verbose option. |
cached-filename-or-directory |
Specifies the name of the file or directory for which to display information. |
The following example shows that a file called doc_file is successfully packed.
$ cachefspack -i doc_file cachefspack: file doc_file marked packed YES, packed YES |
The following example shows a directory called /usr/openwin, which contains a subdirectory bin. The subdirectory bin has three files: xterm, textedit, and resize. Although the files xterm and resize are specified to be packed, they are not. The file textedit is successfully packed.
$ cd /usr/openwin $ cachefspack -i bin . . . cachefspack: file /bin/xterm marked packed YES, packed NO cachefspack: file /bin/textedit marked packed YES, packed YES cachefspack: file /bin/resize marked packed YES, packed NO . . . |
If you use the -v option in combination with the -i option, you will get additional information as to whether or not the file or directory specified has been flushed from the cache. For example:
$ cd /usr/openwin $ cachefspack -iv bin . . . cachefspack: file /bin/xterm marked packed YES, packed NO, nocache YES cachefspack: file /bin/textedit marked packed YES, packed YES, nocache NO cachefspack: file /bin/resize marked packed YES, packed NO nocache NO . . . |
The last line of the example above shows that the directory contents have not been flushed from the cache.