API Guide
601355 Rev A API Functions 2-315
Functions
50 VS_Mount_SetFields ( mounth,
51 VSID_MEDIA_CLASS_NAME,
mediaclass,
52 VSID_ENDFIELD );
53
54 printf ( “Reclassify media (1) yes
or (2) no ==> “ );
55 entry = atoi(gets(input));
56
57 if ( entry == 1 )
58 {
59 printf ( “Enter Target Media
Class ==> “ );
60 gets(mediaclass);
61 VS_Mount_SetFields( mounth,
62
VSID
_TARGET_MEDIA_CLASS_NAME,
mediaclass,
63 VSID_ENDFIELD );
64 }
65 }
66 printf ( “Mount by (1) Drive ID or (2)
Drive Pool ==> “ );
67 entry = atoi(gets(input));
68
69 if ( entry == 1 )
70 {
71 printf ( “Enter Drive ID for
mounting ==> “ );
72 driveid = atoi(gets(input));
73 VS_Mount_SetFields ( mounth,
74 VSID_DRIVE_ID,
driveid,
75 VSID_ENDFIELD );
76 }
77 else
78 {
79 printf ( “Enter Drive Pool for
mount ==> “ );
80 gets(drivepool);
81 VS_Mount_SetFields ( mounth,