- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Automatic recognition of floppy drive
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2005 02:15 AM
тАО08-29-2005 02:15 AM
Automatic recognition of floppy drive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2005 02:34 AM
тАО08-29-2005 02:34 AM
Re: Automatic recognition of floppy drive
******************************
SYS$COMMON:[SYS$STARTUP]VMS$DEVICE_STARTUP.COM;1
io connect mpa0/noadapter/driver=sys$pipedriver
io autoconfigure ! <=
exit
The line marked "<=" does the recognition.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2005 02:44 AM
тАО08-29-2005 02:44 AM
Re: Automatic recognition of floppy drive
$ io -connect /noadapter/driver=sys$pipedriver
$ io autoconfigure ! <=
$ exit
how do I check for errors if the floppy is not there?
how do I send a message to the screen alerting the operator to "Insert a floppy disk"?
how can $STATUS be used in this scenario?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2005 03:00 AM
тАО08-29-2005 03:00 AM
Re: Automatic recognition of floppy drive
welcome to VMS forum!
I'm not sure about your real intention; I try to do.
You can know if floppy is recognized usign f$getdvi like follow
$ IF F$GETDVI(floppy_dev,"EXISTS")
$ THEN
$ ... floppy exist
$ ELSE
$ ... execute here Uwe's statement
$ ... so mount new floppy
$ ENDIF
About floppy in drive, I don't know any option of f$getdvi.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2005 03:06 AM
тАО08-29-2005 03:06 AM
Re: Automatic recognition of floppy drive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2005 03:15 AM
тАО08-29-2005 03:15 AM
Re: Automatic recognition of floppy drive
>> how do I check for errors if the floppy is not there?
The autoconfigure only loads the software driver. It does not look for media.
>> how do I send a message to the screen alerting the operator to "Insert a floppy disk"?
Well, if you just try to mount/for it, that will succeed with media present and will fail, whilest warning the operator is not present:
$ mount/for XXX$DVA0:
%MOUNT-I-OPRQST, Please mount device _XXX$DVA0:
%MOUNT-I-NOOPR, no operator available to service request
I don't think you can detect the floppy presence without attempting a mount.
hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2005 03:21 AM
тАО08-29-2005 03:21 AM
Re: Automatic recognition of floppy drive
Uwes command:
$ mc sysman io autoconfigure
identifies all the devices connected to the alpha and loads the drivers needed for them.
So this command is needed if you dont see yours floppy as a device (probably DVA0). Once you see the device this command is not needed.
There is no special command to check if there is a floppy in the drive. You can just try to mount it with MOUNT/ASSIST.
the line:
io connect mpa0/noadapter/driver=sys$pipedriver
is needed for DCL piping and you dont need it (It was a part of the search command)
Bojan