Skip Navigation Links | |
Exit Print View | |
Sun QFS and Sun Storage Archive Manager 5.3 Reference Manual Sun QFS and Sun Storage Archive Manager 5.3 Information Library |
1. User Commands (Man Pages Section 1)
2. Maintenance Commands (Man Pages Section 1M)
3. Library Functions (Man Pages Section 3)
4. Library Functions (Man Pages Section 3X)
5. File Formats (Man Pages Section 4)
NAME sam_mig_stage_file - Stages function from foreign data migration program SYNOPSIS cc [ flag ... ] file ... -L/opt/SUNWsamfs/lib -lsamut [ library ... ] #include "/opt/SUNWsamfs/include/mig.h" int sam_mig_stage_file(tp_stage_t *stage_req); AVAILABILITY SUNWsamfs DESCRIPTION sam_mig_stage_file() is called when the foreign data migra- tion program is ready to start staging the data for the stage request associated with stage_req. RETURN VALUES sam_mig_stage_file() returns a 0 if the file system is ready for usage. Otherwise, a value of -1 is returned and ends all activity for this stage. errno is set to indicate the error. FILES /opt/SUNWsamfs/migkit/mig_cd.c The example Migration Toolkit program. /etc/opt/SUNWsamfs/mcf The configuration file for Sun QFS and SAM-QFS file systems. SEE ALSO mcf(4).