From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdd80,89da36e4533272c0 X-Google-Attributes: gidfdd80,public X-Google-Thread: 1164f8,89da36e4533272c0 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-11-30 13:44:53 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-feeds.jump.net!dfw-peer.news.verio.net!dfw-feed.news.verio.net!news.verio.net!news!not-for-mail Message-ID: <3C07FDEE.E532AEEB@ins-msi.com> From: Jeff Campbell Organization: INS-MSI Inc. X-Mailer: Mozilla 4.78 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.sys.dec,alt.sys.pdp11 Subject: Re: Need RRD40 Disk Geometries info References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 30 Nov 2001 22:21:08 GMT NNTP-Posting-Host: 209.190.33.156 X-Trace: news 1007158868 209.190.33.156 (Fri, 30 Nov 2001 17:21:08 EST) NNTP-Posting-Date: Fri, 30 Nov 2001 17:21:08 EST Xref: archiver1.google.com comp.sys.dec:9125 alt.sys.pdp11:3087 Hi Tim, sword7@speakeasy.org wrote: > > In alt.sys.pdp11 Eric Smith wrote: > > The RRD40, and CD-ROMs in general, don't HAVE a geometry in the sense > > that disk drives are said to. In mode 1 (the normal mode), they are > > a linear array of 2048-byte blocks numbered from 0 to n-1. The original > > CD-ROM spec only allowed for 74 minute discs. Each second translates to > > 75 blocks, so the maximum blocks per disc was 74*60*75 = 333,000. > > > In practice, most 74-minute CD-R blanks had somewhat more than 74 minutes, > > and of course now many blanks are actually specified as 80 minutes. > > 80 minutes is 80*60*75 blocks = 360,000. > > > Some CD-ROM drives can be placed in a 512-byte sector mode for use with > > older Unix systems. Instead of 0..n-1 2K blocks, they have 0..4n-1 > > 512 byte blocks. > > > But there aren't any cylinders, heads, or sectors as per typical > > hard drives. > > I already know about that. That is physical one track on CD. > However, I mean that logical sectors, cylinders, etc. that one spiral > track can be broken down into. On my OpenVMS installation CD, how I can > find number of LBNs when "online" and "get unit status" command are > issued on my RQDX3 emulator? The layout of the end message packets for these are: ONLINE response: 31 16 8 0 +-------------------------------+ | command reference number | +-------------------------------+ | reserved | unit number | +-------------------------------+ | status | flags | end code | +-------------------------------+ | unit flags | multi-unit code + +-------------------------------+ | reserved | +-------------------------------+ | unit | +----- ----+ | identifier | +-------------------------------+ | media type identifier | +-------------------------------+ | reserved | reserved | +-------------------------------+ | unit size | <- size in LBN +-------------------------------+ | volume serial number | +-------------------------------+ GET UNIT STATUS: 31 24 16 8 0 +---------------------------------+ | command reference number | +---------------------------------+ | reserved | unit number | +---------------------------------+ | status | flags | end code | +---------------------------------+ | unit flags | multi-unit code | +---------------------------------+ | reserved | +---------------------------------+ | unit | +----- ------+ | identifier | +---------------------------------+ | media type identifier | +---------------------------------+ | reserved | shadow unit | +---------------------------------+ | group size | track size | +---------------------------------+ | reserved | cylinder size | +---------------------------------+ |copies | RBNs | RCT size | +---------------------------------+ Note that the GET UNIT STATUS response does NOT return the drive's size in LBNs. As I indicated before the end message does not have to contain values for the drive size fields. > > Thank you! > > -- Tim Stark > > -- > Timothy Stark <>< Inet: sword7@speakeasy.org > -------------------------------------------------------------------------- > "For God so loved the world, that he gave his only begotten Son, that > whosoever believeth in him should not perish, but have everlasting life. > Amen." -- John 3:16 (King James Version Bible) HTH, Jeff n8wxs@arrl.net