tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Stephen Dowdy <dowdy () cs ! colorado ! edu>
To: tru64-unix-managers
Subject: Additional Info DU4.0 -- SUMMARY: iomega ZIP disktab entry ?
Date: Thu, 01 Aug 1996 18:34:16 +0000	[thread overview]
Message-ID: <96076337821244.tru64-unix-managers.marc@archive.invalid> (raw)

> From: UCL Starlink <star@star.ucl.ac.uk>
> To: alpha-osf-managers@ornl.gov
> Subject: SUMMARY: iomega ZIP disktab entry ?
...
> 1) From: alan <alan@nabeth.cxo.dec.com>
> 
>  If the drive is well behaved, Digital UNIX can get the geometry
>  directly from the drive (with the disklabel command).  The driver will
>  provide a default partition table, though for a such a small drive, the
>  algorithm may get a bit confused.

I don't know about the Zip drive, but the Jaz (1GB) doesn't support a
Geometry mode page.  In DU4.0 disklabel will do a DEVGETGEOM ioctl to
the drive, regardless of you using a defined disktab entry or a generic
(non-defined query) SCSI type.

Since the Jaz has no geometry mode page, the DEVGETGEOM fails, and
'disklabel' aborts with:

	XXX: no such device type

The only way i've found to force a disklabel in DU4.0 to a JAZ drive
is to build one by hand (you can use 'disklabel -r' on another drive
and hack the output), then:

	disklabel -R -r rzN /tmp/jaz.disklabel rzboot bootrz

If anyone has any better idea let me know.  I've tried all sorts of
entries for the Jaz in /etc/disktab and none will keep disklabel from
issuing the DEVGETGEOM ioctl.  It seems also that 'disklabel' isn't using
the DDR database in /etc, so trying to create an entry there doesn't look
like it'll help.  Maybe something in cam_data.c (being retired) would
help, but i haven't had time to look into it.

--stephen
--
Stephen Dowdy - Systems Administrator - CS Dept - Univ of Colorado, Boulder
dowdy@cs.colorado.edu - 303-492-6196 - http://www.cs.colorado.edu/~dowdy/
"Team Spam Forever" (A division of Beatrice)    { NO cold Sales Calls !!! }

                 reply	other threads:[~1996-08-01 18:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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