pntr->volid = volid;
goto drop;
}
- tv = VAttachVolumeByName(&error, pname, volname, V_READONLY);
+ tv = VAttachVolumeByName(&error, pname, volname, V_PEEK);
if (error) {
pntr->status = 0; /*things are messed up */
strcpy(pntr->name, volname);
/*
* Attach the volume, give up on the volume if we can't.
*/
- tv = VAttachVolumeByName(&error, pname, volname, V_READONLY);
+ tv = VAttachVolumeByName(&error, pname, volname, V_PEEK);
if (error) {
xInfoP->status = 0; /*things are messed up */
strcpy(xInfoP->name, volname);
pntr->volid = volid;
goto drop;
}
- tv = VAttachVolumeByName(&error, pname, volname, V_READONLY);
+ tv = VAttachVolumeByName(&error, pname, volname, V_PEEK);
if (error) {
pntr->status = 0; /*things are messed up */
strcpy(pntr->name, volname);
/*
* Attach the volume, give up on this volume if we can't.
*/
- tv = VAttachVolumeByName(&error, pname, volname, V_READONLY);
+ tv = VAttachVolumeByName(&error, pname, volname, V_PEEK);
if (error) {
xInfoP->status = 0; /*things are messed up */
strcpy(xInfoP->name, volname);