#Syquest startups
3 messages in this thread
I've a Syquest 88M in my system, and am trying to set up separate bootup
instructions for each volume (88M cartridge).
The internal HD handles all the startup functions, and I want to add some logic
to my user-startup that does something like:
if exists Volume1:
execute s:Volume1.startup else
echo "Volume1 not mounted!" endif if exists Volume2:
execute s:Volume2.startup else
echo "Volume2 not mounted!" endif
This works fine for the volume that is mounted, but presents a requester upon
looking for the unmounted volume.
Is there a way to do this and prevent any requestors from popping up?
– Rob.. <71212.712@compuserve.com>
RBProductions <cyrano@aztec.inre.asu.edu>
Robert,
testing for a device to exist should be done with the assign command to
prevent a system request.
So the solution is…
failat 30
assign >NIL: Volume1: exists
if warn
echo "Volume1 not mounted"
else
execute s:Volume1.startup
endif
assign >NIL: Volume2: exists
if warn
echo "Volume2 not mounted"
else
execute s:Volume2.startup
endif
Hope this will work for you.
– wkc – … via AP from Hamburg, Germany
Werner –
Thanks for the help with multiple devices and assigns.
Your suggestion works like a charm.
– Rob.. <71212.712@compuserve.com>
RBProductions <cyrano@aztec.inre.asu.edu>