From: zbs@softec.sk (Zoltan Basti)
Subject: Re: 2-4Gb hard drives under OSF 3.2
Date: 1995/12/21 [thread overview]
Message-ID: <DJxGJH.JFG@softec.sk> (raw)
In-Reply-To: 4b9e11$ja7@lll-winken.llnl.gov
It was a dark and stormy night when oberman@icaen.llnl.gov had this to say:
: In this case, it is OK. But take the case of a disk that has more sectors on
: its outer tracks than on its inner ones (NT# is not constant). These are not
: uncommon. I have a Fujitsu that does this. There is no way I could configure
: the disk in a disktab entry which would not waste space. And, since a SCSI dosk
: is addressed by block number and not absolute location, there is no reason for
: the OS to care.
: And don't forget the non-zero possibility of a typo slipping through. That
: could prove awkward. The drive always knows its exact configuration. Why not
: simply ask it?
You are right, and this was indeed possible under Ultrix. There was in fact
no need for a disktab file, because the appropriate disklabel-creating
command (newfs) had the capability to query the SCSI disks. There was
a documented system call, creatediskbyname, which you could use as well.
I don't know why this functionality is missing in dUnix, but nevertheless
I think disktab entries are not that important.
Given the way SCSI disks are addressed, any geometry will do, provided
it gives the real disk capacity. Whether you have different number of sectors
in different tracks really doesn't matter in this case.
I know UFS used to use the disk geometry to optimize the filesystem.
I don't know if AdvFS does this too, but again, you can never know
a SCSI disk's *real* geometry. SCSI disks generally lie about their
geometry when they have to, and I've seen disks where you could
even choose what they should lie.
--
Zoltan Basti
next prev parent reply other threads:[~1995-12-21 5:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-12-18 5:00 2-4Gb hard drives under OSF 3.2 Sergey Zhuk
1995-12-19 5:00 ` SSTROBEL10
[not found] ` <4b5sls$cnj@news.belwue.de>
1995-12-19 5:00 ` oberman
[not found] ` <4b926h$251@news.belwue.de>
1995-12-20 5:00 ` oberman
1995-12-21 5:00 ` Zoltan Basti [this message]
1995-12-21 5:00 ` Alan Rollow
1995-12-22 5:00 ` Zoltan Basti
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