From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,89da36e4533272c0 X-Google-Attributes: gid1164f8,public X-Google-Thread: fdd80,89da36e4533272c0 X-Google-Attributes: gidfdd80,public X-Google-ArrivalTime: 2001-12-04 12:41:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!nntp-server.caltech.edu!gah From: gah@ugcs.caltech.edu (glen herrmannsfeldt) Newsgroups: comp.sys.dec,alt.sys.pdp11 Subject: Re: Need RRD40 Disk Geometries info Date: 4 Dec 2001 20:40:41 GMT Organization: California Institute of Technology, Pasadena Message-ID: <9ujcc9$7m5@gap.cco.caltech.edu> References: <9u8oad$e80@gap.cco.caltech.edu> <3C07F51F.5A764665@trailing-edge.com> NNTP-Posting-Host: yak.ugcs.caltech.edu X-Newsreader: NN version 6.5.0 #1 (NOV) Xref: archiver1.google.com comp.sys.dec:9306 alt.sys.pdp11:3100 Tim Shoppa writes: >glen herrmannsfeldt wrote: (snip) >> Tracks and cylinders are never visible to the host OS on SCSI >> disks. The only thing is the total number of blocks. >Not strictly true - nearly all SCSI disk drives allow "mode sense" >commands that return numbers purporting to be physical heads, >cylinders, and sectors. With modern zoned SCSI drives, though, >the # of sectors per cylinder is variable and the drive returns >an "average" number. >Few host OS's bother to pay attention to the physical geometry, >and none should. (You do frequently run across people who believe >that physical geometry is still important, though. Everyone's >entitled to their own opinion, no matter how wrong they are. The >way that BSD-derived disklabels are written is a damn shame because >it promotes this backwards view.) Yes. But for actual disk addressing they are not visible. I do remember trying to come up with numbers to use with SunOS that would satisfy the disk. In the beginning I tried to believe the "mode sense" numbers, but not for long. I would find some nice factors of the number of blocks and use those. Yes, it is BSD that seems to promote that. Though IBM OS/390 still makes if visible to the programmer. Disk space is allocated in tracks or cylinders, and not blocks. This is true even though the newer disks emulate physical tracks and cylinders using a fixed block structure internally. -- glen