From owner-freebsd-questions Fri Jun 9 10:42:27 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA20353 for questions-outgoing; Fri, 9 Jun 1995 10:42:27 -0700 Received: from hda.com (hda.com [199.232.40.182]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id KAA20346 for ; Fri, 9 Jun 1995 10:42:25 -0700 Received: (dufault@localhost) by hda.com (8.6.11/8.3) id NAA17357; Fri, 9 Jun 1995 13:41:39 -0400 From: Peter Dufault Message-Id: <199506091741.NAA17357@hda.com> Subject: Re: scsi and scsiformat To: allynh@avsi.com (Allyn Hardyck) Date: Fri, 9 Jun 1995 13:41:39 -0400 (EDT) Cc: freebsd-questions@freebsd.org In-Reply-To: <199506091634.MAA01409@jupiter.avsi.com> from "Allyn Hardyck" at Jun 9, 95 12:34:45 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1026 Sender: questions-owner@freebsd.org Precedence: bulk Allyn Hardyck writes: > > I'm running FreeBSD 2.0. I'm trying to format a SCSI disk. > Disklabel and newfs don't want to deal with it. I kept seeing > references to "scsi" and "scsiformat" commands, but they didn't > exist on my machine. I noticed source for them on ftp.freebsd.org > so I copied it over. But they want a scsi.h, which is not in the > include directory. Where is it? > The "scsiformat" you found is from the 4.4Lite tape and has never been (and probably will never be) ported, though a replacement will be offered. You need to go to 2.05 to get the "scsi" command. If you have that then I have a scsiformat script that uses it to format the drive, though it does little more than scsi -f /dev/rsd?.ctl "4 0 0 0 0 0" I believe that if you get all of lib/libscsi and sbin/scsi then you can build the scsi command on 2.0R. Peter -- Peter Dufault Real Time Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936 dufault@hda.com Fax: 508 433 5267