The scan file provides an inventory of all the files and directories in the file collection. By looking at the scan file you can quickly see which files are in a collection. You can find the scan file in the file collection's directory in /var/sysman/sup.
Although scan files require maintenance whenever files are added, deleted, or changed in the master collection, they save processing time on larger file systems.
Note |
---|
Update the scan file each time you modify the file collection or you risk accidentally updating the collection from an outdated master file. |
To check for an existing scan file in the user.admin file collection, enter:
ls /var/sysman/sup/user.admin
To create a scan file for the user.admin file collection, enter:
/var/sysman/supper scan user.admin
Following is a sample of a scan file for the user.admin collection. It shows the name of each file preceded by three sets of numbers. The first set is the file permissions, the second set indicates when the collection was installed, and the third set indicates when the collection was last updated.
V2 100644 898550069 898291329 etc/amd/amd-maps/amd.u X/etc/amd/refresh_amd 100644 902502604 902502321 etc/auto.master 100644 902499005 902495923 etc/auto/maps/auto.tstauto 100644 898550069 898291329 etc/auto/maps/auto.u X/etc/amd/refresh_amd 100664 903622203 903620838 etc/group 100664 903622203 903621192 etc/passwd 100664 903625802 903624000 etc/passwd.id.idx 100664 903625802 903624000 etc/passwd.nm.idx 100640 903622203 902858646 etc/security/group 100644 903622203 903620838 etc/security/passwd 100644 903622203 903620838 etc/security/passwd.idx |
Note |
---|
There are special considerations when using scan files in an HACWS environment. In this environment, a control workstation can be either a file collections client or a server depending on whether it is active. Refer to Managing file collections for more information. |