sam_mig_rearchive - Sets rearchive flag on files residing on
cc [ flag ... ] file ... -L/opt/SUNWsamfs/lib -lsamut [library ... ]
int sam_mig_rearchive(char *mount_point, char **vsns, char
sam_mig_rearchive() is a routine that traverses a file sys-
tem and marks archive files residing on a foreign medium as
needing to be rearchived. This allows a site the ability to
migrate files from the foreign media to Sun QFS or SAM-QFS
media in a controlled fashion.
mount_point is the mount point of the Sun QFS or SAM-QFS
file system to scan. vsns is a NULL terminated list point-
ing to the VSNs to be searched. media is the two character
string containing the foreign media type.
Upon succesful initialization a value of 0 is returned.
Otherwise, a value of 1 is returned and errno is set to
indicate the error.
The example Migration Toolkit program.
The configuration file for Sun QFS and
SAM-QFS file systems.