🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.asm370
Article #733

Disk type and features...

#733
From: Valdis Kletnieks
Date: Thu, 25 Apr 1991 13:07
12 lines
1086 bytes
Regarding getting information about a disk...

Rather than issuing a DIAG x'08' and parsing the output, I'd suggest
you look at DIAG x'24' (DEVTYPE) and (under XA SP 2.1 at least) DIAG x'210'
which returns device-specific features...

For the terminally ambitious, there's also the appropriate CCW commands
for 'Read Device Characteristics'... but this isn't for the faint-hearted.

                                  Valdis Kletnieks
                                  Computer Systems Engineer
                                  Virginia Polytechnic Institute
Technical Details
Message-ID: <9104251314.AA07378@ucbvax.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!usc!apple!agate!ucbvax!VTVM1.CC.VT.EDU!VALDIS

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!usc!apple!agate!ucbvax!VTVM1.CC.VT.EDU!VALDIS
From: VALDIS@VTVM1.CC.VT.EDU (Valdis Kletnieks)
Newsgroups: comp.lang.asm370
Subject: Disk type and features...
Message-ID: <9104251314.AA07378@ucbvax.Berkeley.EDU>
Date: 25 Apr 91 13:07:54 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: IBM 370 Assembly Programming Discussion List
              <ASM370@OHSTVMA.BITNET>
Distribution: inet
Organization: The Internet
Lines: 12