From: Jeff Campbell <jcampbell@ins-msi.com>
Subject: Re: Need RRD40 Disk Geometries info
Date: Fri, 30 Nov 2001 22:21:08 GMT [thread overview]
Message-ID: <3C07FDEE.E532AEEB@ins-msi.com> (raw)
In-Reply-To: u0f2fo4dkh0m2c@corp.supernews.com
Hi Tim,
sword7@speakeasy.org wrote:
>
> In alt.sys.pdp11 Eric Smith <eric-no-spam-for-me@brouhaha.com> 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
next prev parent reply other threads:[~2001-11-30 22:21 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-30 0:13 Need RRD40 Disk Geometries info sword7
2001-11-30 0:38 ` glen herrmannsfeldt
2001-11-30 0:55 ` Hoff Hoffman
2001-11-30 0:55 ` Eric Smith
2001-11-30 1:21 ` Hoff Hoffman
2001-11-30 2:59 ` Eric Smith
2001-11-30 13:30 ` sword7
2001-11-30 19:57 ` glen herrmannsfeldt
2001-12-01 1:07 ` Tim Shoppa
2001-12-04 20:40 ` glen herrmannsfeldt
2001-11-30 22:21 ` Jeff Campbell [this message]
2001-11-30 23:56 ` Hoff Hoffman
2001-11-30 13:33 ` Bob Supnik
2001-11-30 18:54 ` Eric Smith
2001-11-30 19:54 ` Jeff Campbell
2001-11-30 20:54 ` a.carlini
2001-11-30 22:43 ` Jeff Campbell
2001-12-01 18:18 ` Terry Kennedy
2001-11-30 23:02 ` Bob Supnik
2001-12-01 22:01 ` Jeff Campbell
2001-12-02 1:35 ` Jeff Campbell
2001-12-01 0:06 ` Hoff Hoffman
2001-12-01 2:59 ` sword7
2001-12-01 3:21 ` Hoff Hoffman
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox