From owner-cvs-etc Mon Feb 10 17:20:56 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA01190 for cvs-etc-outgoing; Mon, 10 Feb 1997 17:20:56 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA00857; Mon, 10 Feb 1997 17:19:21 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id RAA29732 ; Mon, 10 Feb 1997 17:00:18 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.3/8.6.9) id LAA26838; Tue, 11 Feb 1997 11:43:47 +1100 Date: Tue, 11 Feb 1997 11:43:47 +1100 From: Bruce Evans Message-Id: <199702110043.LAA26838@godzilla.zeta.org.au> To: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-etc@freefall.freebsd.org, julian@freefall.freebsd.org Subject: Re: cvs commit: src/etc/etc.i386 disktab Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Modified: etc/etc.i386 disktab > Log: > add a disktab entry for those people who need abit of help > with ZIP drives.. > > use with: > disklabel -r -w -B sdx zip100 disktab shouldn't be used for anything except floppies and certain other drives that don't report their size. For dedicated zip disks, use: disklabel -r -w -B sdx auto or disklabel /dev/rsdx >tempfile disklabel -r -R -B sdx tempfile For the usual case of DOSpartitioned zip disks, the zip100 and auto methods won't work (unless the disktab entry exactly matches the partitioning). Use: disklabel /dev/rsdx >tempfile $EDITOR tempfile disklabel -r -R -B sdx tempfile The zip100 and auto methods give labels with the following differences: (1) The `disk' field is filled in as "zip100" only for the zip100 method. This is a deficiency in the driver. It should fill in the field with something like the manufacturers id . The field is usually too short for the full id. (2) The `flags' field is filled in as "removeable only for the zip100 method. This is another deficiency in the driver. (3) The `partitions' field is initialized to 3 by the zip100 method and as 8 by the auto method (at least with my version of subr_diskslice.c). This is a deficiency in the zip100 disktab entry. We decided to default to 8 because this doesn't cost anything and people often forget to increase it when required. (4) The zip100 method give an `a' partition covering the whole disk. The auto method doesn't do this because you usually want it to be smaller for large disks. (5) The zip100 method gives a `b' partition covering the whole disk. This is a bug in the zip100 disktab entry. Bother methods neglect to initialize the `type' field. The type field is actually used by the bootstrap to decide if the boot disk is SCSI. Non-SCSI disks are assumed to be ESDI/IDE. Bruce